]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/ceph_monstore_tool: include mgrmap in initial paxos epoch 19780/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Jan 2018 05:06:52 +0000 (13:06 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 Jan 2018 13:21:55 +0000 (21:21 +0800)
commitf3f2a8bad4da7fda485eba7412d40b7b5758452d
treea704b84c7a1770cb66d76f712a54d8acf85f34b9
parenta5fd0e71d15c2fee573c7f21635df237ab68f51e
tools/ceph_monstore_tool: include mgrmap in initial paxos epoch

before this change, the "mgr" map is not included paxos, thus why the
peon mon fails to have the mgr map after it is sync'ed with its leader.
and hence there is chance that ceph-mgr is unable to get a mgr map from
the monitor it is connected to.

Fixes: http://tracker.ceph.com/issues/22266
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tools/ceph_monstore_tool.cc