From: John Spray Date: Thu, 7 Jul 2016 15:08:14 +0000 (+0100) Subject: mds: don't spam log with standby_replay_restart messages X-Git-Tag: ses5-milestone5~308^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1f1ef8116d0ee5be5820084d6a30c60c8197c23c;p=ceph.git mds: don't spam log with standby_replay_restart messages Fixes: http://tracker.ceph.com/issues/16195 Signed-off-by: John Spray --- diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc index 8aa884615edd..4e9484378f22 100644 --- a/src/mds/MDSRank.cc +++ b/src/mds/MDSRank.cc @@ -1069,11 +1069,9 @@ void MDSRank::_standby_replay_restart_finish(int r, uint64_t old_read_pos) inline void MDSRank::standby_replay_restart() { - dout(1) << "standby_replay_restart" - << (standby_replaying ? " (as standby)":" (final takeover pass)") - << dendl; if (standby_replaying) { /* Go around for another pass of replaying in standby */ + dout(4) << "standby_replay_restart (as standby)" << dendl; mdlog->get_journaler()->reread_head_and_probe( new C_MDS_StandbyReplayRestartFinish( this, @@ -1081,6 +1079,7 @@ inline void MDSRank::standby_replay_restart() } else { /* We are transitioning out of standby: wait for OSD map update before making final pass */ + dout(1) << "standby_replay_restart (final takeover pass)" << dendl; Context *fin = new C_OnFinisher(new C_IO_Wrapper(this, new C_MDS_BootStart(this, MDS_BOOT_PREPARE_LOG)), finisher);