]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: Monitor: suicide on start if mon has been removed from monmap 1624/head
authorJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 10 Apr 2014 14:14:19 +0000 (15:14 +0100)
committerJoao Eduardo Luis <joao.luis@inktank.com>
Thu, 10 Apr 2014 14:14:19 +0000 (15:14 +0100)
commit86b85947a2148c2e73886c1a7edd09093966ada0
tree708d3464c4f37ca16d55d1ccd03f0b059529d98b
parent2a6d962f476efaa586f64b68b7f62a9deae22c44
mon: Monitor: suicide on start if mon has been removed from monmap

If the monitor has been marked as having been part of an existing quorum
and is no longer in the monmap, then it is safe to assume the monitor
was removed from the monmap.  In that event, do not allow the monitor
to start, as it will try to find its way into the quorum again (and
someone clearly stated they don't really want them there), unless
'mon force quorum join' is specified.

Fixes: 6789
Backport: dumpling, emperor

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