]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: Add a safety builtin to mon_osd_report_timeout 33963/head
authorluo rixin <luorixin@huawei.com>
Sat, 14 Mar 2020 01:54:57 +0000 (09:54 +0800)
committerluo rixin <luorixin@huawei.com>
Tue, 1 Sep 2020 00:58:44 +0000 (08:58 +0800)
commit78e67e71e10809fd73d38545bace94dbd02e03bb
tree84e5ce1913de43829e98c0ebeea0c44d2a1b62f7
parented90c0768b0c8cf09511e8971bba453e09e42697
mon/OSDMonitor: Add a safety builtin to mon_osd_report_timeout

Add a safety builtin that use max(mon_osd_report_timout,2*osd_beacon_report_interval)
as osd timeout by adding osd_beacon_report_interval into MOSDBeacon. This will allow
for the OSD to miss a beacon and catch it on the next beacon without being marked down
by the monitor.

Fixes: https://tracker.ceph.com/issues/40668
Signed-off-by: luo rixin <luorixin@huawei.com>
src/crimson/osd/osd.cc
src/messages/MOSDBeacon.h
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/osd/OSD.cc