void MonmapMonitor::create_initial()
{
- dout(10) << "create_initial using current monmap" << dendl;
+ dout(10) << __func__ << " using current monmap" << dendl;
pending_map = *mon->monmap;
pending_map.epoch = 1;
assert(ret == 0);
assert(monmap_bl.length());
- dout(10) << "update_from_paxos got " << version << dendl;
+ dout(10) << __func__ << " got " << version << dendl;
mon->monmap->decode(monmap_bl);
if (mon->store->exists("mkfs", "monmap")) {
pending_map = *mon->monmap;
pending_map.epoch++;
pending_map.last_changed = ceph_clock_now();
- dout(10) << "create_pending monmap epoch " << pending_map.epoch << dendl;
+ dout(10) << __func__ << " monmap epoch " << pending_map.epoch << dendl;
}
void MonmapMonitor::encode_pending(MonitorDBStore::TransactionRef t)
{
- dout(10) << "encode_pending epoch " << pending_map.epoch << dendl;
+ dout(10) << __func__ << " epoch " << pending_map.epoch << dendl;
assert(mon->monmap->epoch + 1 == pending_map.epoch ||
pending_map.epoch == 1); // special case mkfs!
bool MonmapMonitor::prepare_update(MonOpRequestRef op)
{
PaxosServiceMessage *m = static_cast<PaxosServiceMessage*>(op->get_req());
- dout(7) << "prepare_update " << *m << " from " << m->get_orig_source_inst() << dendl;
+ dout(7) << __func__ << " " << *m << " from " << m->get_orig_source_inst() << dendl;
switch (m->get_type()) {
case MSG_MON_COMMAND:
bool MonmapMonitor::preprocess_join(MonOpRequestRef op)
{
MMonJoin *join = static_cast<MMonJoin*>(op->get_req());
- dout(10) << "preprocess_join " << join->name << " at " << join->addr << dendl;
+ dout(10) << __func__ << " " << join->name << " at " << join->addr << dendl;
MonSession *session = join->get_session();
if (!session ||