]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: only include monmap mon's in outside_quorum, new quorum
authorSage Weil <sage@inktank.com>
Thu, 17 May 2012 19:39:11 +0000 (12:39 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 May 2012 23:23:56 +0000 (16:23 -0700)
commit585adcf1a6174b392be9ccecc7cde7e7510db8e8
tree92a43ad82787159904d276ca7205539673993d47
parente1d34cc4acff88ad52bea36d52c0ecaf69d699dd
mon: only include monmap mon's in outside_quorum, new quorum

Only include mons that are in the monmap in the outside_quorum set, which
we use to determine if we can form a new quorum.

In particular, if we ourselves are not in the monmap, we can't call an
election (that wouldn't include us anyway).

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