]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: track osd_epoch of all MonSessions 5773/head
authorKefu Chai <kchai@redhat.com>
Mon, 20 Jul 2015 16:33:19 +0000 (00:33 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 26 Oct 2015 09:12:02 +0000 (17:12 +0800)
commit171fee1b82d2675e364da7f96dfb9dd286d9b6e6
treecbf0f420ac76d9d6a3a9c2c6fada64075449285b
parentcc7da674965c3f758469e18788dc0e106e54d5bc
mon: track osd_epoch of all MonSessions

previously, we only track the osd_epoch for OSD peers. but other
MonClients who receives osdmaps can also benefit from osd_epoch.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit de43a02e06650a552f048dc8acd17f255126fed9)

Conflicts:
src/mon/OSDMonitor.cc:
do not assume that the MonSession is always available when
        OSDMonitor::send_incremental() is called. as when the
        connection to the mon client is dropped, the Monitor is
        aware of this, but not the OSDMonitor.
src/mon/OSDMonitor.cc