]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: send updated monmap to its subscribers 11456/head
authorKefu Chai <kchai@redhat.com>
Thu, 13 Oct 2016 05:19:27 +0000 (13:19 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 13 Oct 2016 06:35:24 +0000 (14:35 +0800)
commitc2b348b12c47ba505f72228ae0ea9b1a1b674719
tree3bc9f1db85f3b4d699de0674b7d35c663a801973
parent47447bfba22fa55b29c20f249180e34ee935f7eb
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>
src/mon/Monitor.cc
src/mon/Monitor.h
src/mon/MonmapMonitor.cc
src/mon/MonmapMonitor.h