]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: only check last_osd_report if the whole cluster is luminous 14294/head
authorKefu Chai <kchai@redhat.com>
Mon, 3 Apr 2017 07:05:57 +0000 (15:05 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 3 Apr 2017 07:11:48 +0000 (15:11 +0800)
commita521b13a6876e7dec79853fa064d7a2b699b40cc
treeb2154222061b1accf17a8dc359080e4fb21e77ae
parentfa3ddead5ee7991a600ba9209521beae4c0c032f
mon/OSDMonitor: only check last_osd_report if the whole cluster is luminous

if a peon is not luminous, it won't forward the beacon message. if any
OSD is not luminous, it won't report to mon with beacon messages. so, we
can trust the OSDMonitor::last_osd_report only if the whole cluster is
luminous.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc