finish_contexts(g_ceph_context, waiting_for_active);
finish_contexts(g_ceph_context, waiting_for_readable);
finish_contexts(g_ceph_context, waiting_for_writeable);
+
+ queue_next();
}
}
}
finish_contexts(g_ceph_context, waiting_for_active);
finish_contexts(g_ceph_context, waiting_for_readable);
finish_contexts(g_ceph_context, waiting_for_writeable);
+
+ queue_next();
}
}
void Paxos::finish_round()
{
+ dout(10) << __func__ << dendl;
assert(mon->is_leader());
// ok, now go active!
state = STATE_ACTIVE;
+}
+void Paxos::queue_next()
+{
dout(10) << __func__ << " state " << state
<< " proposals left " << proposals.size() << dendl;
}
}
+
// peon
void Paxos::handle_lease(MMonPaxos *lease)
{