]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: take probed peer's monmap if it has ever joined a quorum
authorSage Weil <sage@inktank.com>
Thu, 17 May 2012 18:08:38 +0000 (11:08 -0700)
committerSage Weil <sage@inktank.com>
Fri, 18 May 2012 23:23:56 +0000 (16:23 -0700)
commit0088699f7aa5e1dfec45f8daaf17f9a295369dba
tree7c1c8508c9efb50eea1904e105302a39dc638009
parentc52a4f723fe9e8e95014078a138311196fcb661a
mon: take probed peer's monmap if it has ever joined a quorum

If we probe a peer and their monmap has actually been part of a started
cluster/quorum, and ours hasn't, take theirs.  Comparing versions isn't
sufficient.

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