]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tools/ceph_monstore_tool: include mgrmap in initial paxos epoch 20116/head
authorKefu Chai <kchai@redhat.com>
Thu, 4 Jan 2018 05:06:52 +0000 (13:06 +0800)
committerNathan Cutler <ncutler@suse.com>
Thu, 25 Jan 2018 12:46:27 +0000 (13:46 +0100)
commitcd9e6788cbb8ead60c82d15c574c5a00f4c1d222
treee2b2691a390b0f4585dc0642f746d7d7888897de
parent7ba84945e7598333dca5f75dcbb7771f6b85fa13
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>
(cherry picked from commit f3f2a8bad4da7fda485eba7412d40b7b5758452d)
src/tools/ceph_monstore_tool.cc