Fixes: #13067
Signed-off-by: Yan, Zheng <zyan@redhat.com>
// reschedule
reset_tick();
- if (beacon.is_laggy()) {
- dout(5) << "tick bailing out since we seem laggy" << dendl;
- return;
- }
-
// Call through to subsystems' tick functions
if (mds_rank) {
mds_rank->tick();
}
-
- // Expose ourselves to Beacon to update health indicators
- beacon.notify_health(mds_rank);
}
/* This function DOES put the passed message before returning*/
{
heartbeat_reset();
+ if (beacon.is_laggy()) {
+ dout(5) << "tick bailing out since we seem laggy" << dendl;
+ return;
+ }
+
check_ops_in_flight();
// Wake up thread in case we use to be laggy and have waiting_for_nolaggy
if (snapserver)
snapserver->check_osd_map(false);
}
+
+ // Expose ourselves to Beacon to update health indicators
+ beacon.notify_health(this);
}
void MDSRankDispatcher::shutdown()