From: Joao Eduardo Luis Date: Sun, 9 Jul 2017 10:25:40 +0000 (+0100) Subject: mon/Paxos: fix annoying formatting spacing X-Git-Tag: v12.1.1~87^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=28b5baefbc36d64039350fa5b58d22f5f7e4f513;p=ceph.git mon/Paxos: fix annoying formatting spacing Signed-off-by: Joao Eduardo Luis --- diff --git a/src/mon/Paxos.cc b/src/mon/Paxos.cc index b1680d25aebd..0109643b5204 100644 --- a/src/mon/Paxos.cc +++ b/src/mon/Paxos.cc @@ -1133,10 +1133,10 @@ void Paxos::handle_lease_ack(MonOpRequestRef op) int from = ack->get_source().num(); if (!lease_ack_timeout_event) { - dout(10) << "handle_lease_ack from " << ack->get_source() + dout(10) << "handle_lease_ack from " << ack->get_source() << " -- stray (probably since revoked)" << dendl; - } - else if (acked_lease.count(from) == 0) { + + } else if (acked_lease.count(from) == 0) { acked_lease.insert(from); if (ack->feature_map.length()) { auto p = ack->feature_map.begin(); @@ -1145,20 +1145,20 @@ void Paxos::handle_lease_ack(MonOpRequestRef op) } if (acked_lease == mon->get_quorum()) { // yay! - dout(10) << "handle_lease_ack from " << ack->get_source() + dout(10) << "handle_lease_ack from " << ack->get_source() << " -- got everyone" << dendl; mon->timer.cancel_event(lease_ack_timeout_event); lease_ack_timeout_event = 0; } else { - dout(10) << "handle_lease_ack from " << ack->get_source() + dout(10) << "handle_lease_ack from " << ack->get_source() << " -- still need " << mon->get_quorum().size() - acked_lease.size() << " more" << dendl; } } else { - dout(10) << "handle_lease_ack from " << ack->get_source() + dout(10) << "handle_lease_ack from " << ack->get_source() << " dup (lagging!), ignoring" << dendl; }