summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-29 16:09:06 -0700
committerSage Weil <sage@inktank.com>2013-07-29 16:09:06 -0700
commitf7d1902ccf9d5bb97cda626d718c3bb02f991a6d (patch)
tree9df1770ec551e0ae923303b96ef8b1f43be0851c
parentf3eda6349485ac84b83e4f66f7180a76baa9baca (diff)
downloadceph-f7d1902ccf9d5bb97cda626d718c3bb02f991a6d.tar.gz
mon/Paxos: be more vocal about calling elections
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/common/config_opts.h2
-rw-r--r--src/mon/Paxos.cc8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h
index 3b9d025393f..1c7a917602a 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 a543abed7ed..445413da13b 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;