New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds: print rank as int #13816

Merged
merged 1 commit into from Mar 8, 2017

Conversation

Projects
None yet
4 participants
@batrick
Member

batrick commented Mar 6, 2017

If the MDS has no rank then its whoami field would be printed as:

{"cluster_fsid":"4c1bae66-03fb-4b9a-bd88-108636d29758","whoami":18446744073709551615,"id":54239,"want_state":"up:boot","state":"???","mdsmap_epoch":22,"osdmap_epoch":0,"osdmap_epoch_barrier":0}

Fixes: http://tracker.ceph.com/issues/19201

Signed-off-by: Patrick Donnelly pdonnell@redhat.com

mds: print rank as int
If the MDS has no rank then its whoami field would be printed as:

    {"cluster_fsid":"4c1bae66-03fb-4b9a-bd88-108636d29758","whoami":18446744073709551615,"id":54239,"want_state":"up:boot","state":"???","mdsmap_epoch":22,"osdmap_epoch":0,"osdmap_epoch_barrier":0}

Fixes: http://tracker.ceph.com/issues/19201

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
@xiaoxichen

This comment has been minimized.

Contributor

xiaoxichen commented Mar 7, 2017

looks good

@ukernel

ukernel approved these changes Mar 7, 2017

@jcsp jcsp merged commit 8bd12b2 into ceph:master Mar 8, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@batrick batrick deleted the batrick:i19201 branch Mar 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment