]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: degrade a log message to level 2 6929/head
authorKongming Wu <wu.kongming@h3c.com>
Sat, 28 Apr 2001 22:22:35 +0000 (06:22 +0800)
committerKongming Wu <wu.kongming@h3c.com>
Sun, 29 Apr 2001 10:23:23 +0000 (18:23 +0800)
FIX #14083

When leader election was done successfully, it will ask peon to collect info. When failed, it will cause monitor to do reelection, which makes relevant log message so important.
So It would be better if reducing the log level from 5 to 2.

Signed-off-by: Kongming Wu <wu.kongming@h3c.com>
src/mon/Paxos.cc

index e0c8039257f5777f5a5542ecf95e567687b6b919..dfab30af7d8aa2d5a29d51565e041531686de0f5 100644 (file)
@@ -207,7 +207,7 @@ void Paxos::handle_collect(MonOpRequestRef op)
   state = STATE_RECOVERING;
 
   if (collect->first_committed > last_committed+1) {
-    dout(5) << __func__
+    dout(2) << __func__
             << " leader's lowest version is too high for our last committed"
             << " (theirs: " << collect->first_committed
             << "; ours: " << last_committed << ") -- bootstrap!" << dendl;