From: Sage Weil Date: Mon, 29 Jul 2013 23:09:06 +0000 (-0700) Subject: mon/Paxos: be more vocal about calling elections X-Git-Tag: v0.67-rc3~1^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f7d1902ccf9d5bb97cda626d718c3bb02f991a6d;p=ceph.git mon/Paxos: be more vocal about calling elections Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 3b9d025393fe..1c7a917602a0 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -80,7 +80,7 @@ SUBSYS(journal, 1, 3) SUBSYS(ms, 0, 5) SUBSYS(mon, 1, 5) SUBSYS(monc, 0, 10) -SUBSYS(paxos, 0, 5) +SUBSYS(paxos, 1, 5) SUBSYS(tp, 0, 5) SUBSYS(auth, 1, 5) SUBSYS(crypto, 1, 5) diff --git a/src/mon/Paxos.cc b/src/mon/Paxos.cc index a543abed7ed7..445413da13bf 100644 --- a/src/mon/Paxos.cc +++ b/src/mon/Paxos.cc @@ -492,7 +492,7 @@ void Paxos::handle_last(MMonPaxos *last) void Paxos::collect_timeout() { - dout(5) << "collect timeout, calling fresh election" << dendl; + dout(1) << "collect timeout, calling fresh election" << dendl; collect_timeout_event = 0; assert(mon->is_leader()); mon->bootstrap(); @@ -711,7 +711,7 @@ void Paxos::handle_accept(MMonPaxos *accept) void Paxos::accept_timeout() { - dout(5) << "accept timeout, calling fresh election" << dendl; + dout(1) << "accept timeout, calling fresh election" << dendl; accept_timeout_event = 0; assert(mon->is_leader()); assert(is_updating() || is_updating_previous()); @@ -1004,7 +1004,7 @@ void Paxos::handle_lease_ack(MMonPaxos *ack) void Paxos::lease_ack_timeout() { - dout(5) << "lease_ack_timeout -- calling new election" << dendl; + dout(1) << "lease_ack_timeout -- calling new election" << dendl; assert(mon->is_leader()); assert(is_active()); @@ -1023,7 +1023,7 @@ void Paxos::reset_lease_timeout() void Paxos::lease_timeout() { - dout(5) << "lease_timeout -- calling new election" << dendl; + dout(1) << "lease_timeout -- calling new election" << dendl; assert(mon->is_peon()); lease_timeout_event = 0;