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

luminous: mon: fix wrong mon-num counting logic of 'ceph features' command #17172

Merged
merged 2 commits into from Aug 24, 2017

Conversation

Projects
None yet
3 participants
@tchaikov
Contributor

tchaikov commented Aug 23, 2017

backport #16887

xiexingguo added some commits Aug 7, 2017

mon: fix inaccurate mon-num counting of 'ceph features' command
Monitors need to talk to each other, which causes the inaccurate
mon-num counting logic of 'ceph features' command.
E.g.:
(1) By specifying 2 monitors, you get 4 from 'ceph features':
    "mon": {
        "group": {
            "features": 2305244844532236283,
            "release": "luminous",
            "num": 4
        }
    },
(2) By specifying 3 monitors, you get 9 from 'ceph features':
   "mon": {
        "group": {
            "features": 2305244844532236283,
            "release": "luminous",
            "num": 9
        }
    },

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit dda5480)
mon: hex feature bits of 'ceph features'
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit b68f31a)

@tchaikov tchaikov added this to the luminous milestone Aug 23, 2017

@liewegas liewegas merged commit 7944eb4 into ceph:luminous Aug 24, 2017

4 checks passed

Docs: build check OK - docs built
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
make check make check succeeded
Details

@tchaikov tchaikov deleted the tchaikov:wip-luminous-pr-16887 branch Aug 24, 2017

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