]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: send updated monmap to its subscribers 11743/head
authorKefu Chai <kchai@redhat.com>
Thu, 13 Oct 2016 05:19:27 +0000 (13:19 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Nov 2016 08:03:28 +0000 (16:03 +0800)
commit362e47cb3dc13c06c95a6079c931af8a1a57d5f4
tree213775ee0ce7b6bfd6bda377b2b80c552435f0ef
parent7b3ec119cb968a26526ad95355c5bf7525fb5346
mon: send updated monmap to its subscribers

prior to this change, we sends monmap when serving the subscription
requests, but the updates are not sent to the subscribers anymore.
so we need to send latest monmap to subscribes and update the
subscription status accordingly when the monmap is updated.

http://tracker.ceph.com/issues/17558
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit c2b348b12c47ba505f72228ae0ea9b1a1b674719)
Conflicts:
Monitor.cc: trivial resolution
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/MonmapMonitor.cc
src/mon/MonmapMonitor.h