]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: backup monmap using all ceph features instead of quorum's 333/head
authorJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 30 May 2013 17:17:28 +0000 (18:17 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 30 May 2013 17:21:25 +0000 (18:21 +0100)
commit626de387e617db457d6d431c16327c275b0e8a34
tree149dda4f463205e792f06b3365e9c1d575d96f86
parent50ac8917f175d1b107c18ecb025af1a7b103d634
mon: Monitor: backup monmap using all ceph features instead of quorum's

When a monitor is freshly created and for some reason its initial sync is
aborted, it will end up with an incorrect backup monmap.  This monmap is
incorrect in the sense that it will not contain the monitor's names as
it will expect on the next run.

This results from us being using the quorum features to encode the monmap
when backing it up, instead of CEPH_FEATURES_ALL.

Fixes: #5203
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
src/mon/Monitor.cc