]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: handle rank change in bootstrap
authorSage Weil <sage@newdream.net>
Tue, 22 Nov 2011 18:08:48 +0000 (10:08 -0800)
committerSage Weil <sage@newdream.net>
Tue, 22 Nov 2011 18:08:48 +0000 (10:08 -0800)
commitbed3c4723c9c7d985e95c394a3fc7a37ac2dbf5a
tree98241b622648aed868b986b5ad64588a5d0f5073
parent8b464093128261e16b5f0bc28196884e81c740e3
mon: handle rank change in bootstrap

The rank can change either because we probe and get a new monmap, or
because we get one via paxos.  Move the checks to bootstrap() to catch
both cases.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mon/Monitor.cc
src/mon/MonmapMonitor.cc