]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/MgrMonitor: send mgr beacons to leader 14374/head
authorSage Weil <sage@redhat.com>
Fri, 7 Apr 2017 14:21:46 +0000 (10:21 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Apr 2017 14:21:46 +0000 (10:21 -0400)
commit6ca733ac8d1df4f237dc7026106701d6c85d9507
tree956b2dcdab2088e2b44d89f1a1fbd70cec769ce4
parentabfb05733496d7c1c9f50558f47f4adaf87a1f7f
mon/MgrMonitor: send mgr beacons to leader

The leader has the last_beacon map that matters; make sure all
beacons go there.

At the same time drop the somewhat redundant checks in
preprocess_beaon and just send *everything* to prepare_beacon,
which is smart enough to do no update if there is none.

Fixes: http://tracker.ceph.com/issues/19502
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MgrMonitor.cc