]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: backup monmap prior to starting a store sync
authorJoao Eduardo Luis <joao.luis@inktank.com>
Fri, 19 Apr 2013 16:28:06 +0000 (17:28 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Mon, 22 Apr 2013 21:53:14 +0000 (22:53 +0100)
commit9ba32404aebb9c223ad3254d463df9b47352753f
treea1b193369e6108f05df4c14128e4f3a08771546d
parent4b9a2a39c9126c79358e3b7d276b6ecc36946f8f
mon: Monitor: backup monmap prior to starting a store sync

If by fate we end up attempting a store sync after failing at
least one before, we might not have a monmap to read from the
store to backup.  Therefore, in that case, we shall backup the
current monmap being used by the monitor.

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