]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: stash latest state when flagging force_sync
authorSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 00:42:14 +0000 (17:42 -0700)
committerSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 18:28:18 +0000 (11:28 -0700)
commit2dc8688a3d88a858cb762fd935f6e9e7c92be26a
treea8028e917a1faae28394377c62689561410d61ce
parent96c48835d19923b467ced3032948af6c2b7959f2
mon: stash latest state when flagging force_sync

Store our latest state when we set the force_sync flag.  This is important
because we will clear the store the next time we start up and may not be
able to get a useful monmap at that point.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc