]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon: make bootstrap rank check more robust
authorSage Weil <sage@redhat.com>
Tue, 15 Jan 2019 16:42:18 +0000 (10:42 -0600)
committerSage Weil <sage@redhat.com>
Tue, 15 Jan 2019 16:54:56 +0000 (10:54 -0600)
commitb7273450df6dfca08e47694d9b74837a5753f58d
tree50f9e2b6496f6b2f9ff8184f380d7f4fd21411bd
parent0c2f792aa7cc01c7e77132a62663f02cf5d746e4
mon: make bootstrap rank check more robust

If we search for myaddrs, then we will detect our rank properly if we were
[a,b] and the a addr got removed.

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