Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luminous: mds: print is_laggy message once #24138

Merged
merged 1 commit into from Sep 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/mds/Beacon.cc
Expand Up @@ -274,8 +274,10 @@ bool Beacon::is_laggy()
utime_t now = ceph_clock_now();
utime_t since = now - last_acked_stamp;
if (since > g_conf->mds_beacon_grace) {
dout(5) << "is_laggy " << since << " > " << g_conf->mds_beacon_grace
<< " since last acked beacon" << dendl;
if (!was_laggy) {
dout(1) << "MDS connection to Monitors appears to be laggy; " << since
<< "s since last acked beacon" << dendl;
}
was_laggy = true;
if (since > (g_conf->mds_beacon_grace*2) &&
now > last_mon_reconnect + g_conf->mds_beacon_interval) {
Expand Down