mirror of
https://github.com/ceph/ceph
synced 2025-02-15 14:58:01 +00:00
mon: clean up probe debug output a bit
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
cb5ada1970
commit
0c2f792aa7
@ -1829,7 +1829,8 @@ void Monitor::handle_probe_probe(MonOpRequestRef op)
|
||||
void Monitor::handle_probe_reply(MonOpRequestRef op)
|
||||
{
|
||||
MMonProbe *m = static_cast<MMonProbe*>(op->get_req());
|
||||
dout(10) << "handle_probe_reply " << m->get_source_inst() << *m << dendl;
|
||||
dout(10) << "handle_probe_reply " << m->get_source_inst()
|
||||
<< " " << *m << dendl;
|
||||
dout(10) << " monmap is " << *monmap << dendl;
|
||||
|
||||
// discover name and addrs during probing or electing states.
|
||||
@ -1870,8 +1871,10 @@ void Monitor::handle_probe_reply(MonOpRequestRef op)
|
||||
bootstrap();
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
} else if (peer_name.size()) {
|
||||
dout(10) << " peer name is " << peer_name << dendl;
|
||||
} else {
|
||||
dout(10) << " peer " << m->get_source_addr() << " not in map" << dendl;
|
||||
}
|
||||
|
||||
// new initial peer?
|
||||
|
Loading…
Reference in New Issue
Block a user