Signed-off-by: Greg Farnum <gfarnum@redhat.com>
elector->message_victory(new_quorum);
}
-void ElectionLogic::receive_propose(epoch_t mepoch, int from)
+void ElectionLogic::receive_propose(int from, epoch_t mepoch)
{
if (mepoch > epoch) {
bump_epoch(mepoch);
* @param mepoch The epoch of the proposal
* @param from The rank proposing itself as leader
*/
- void receive_propose(epoch_t mepoch, int from);
+ void receive_propose(int from, epoch_t mepoch);
/**
* Handle a message from some other participant Acking us as the Leader.
*
<< dendl;
nak_old_peer(op);
}
- logic.receive_propose(m->epoch, from);
+ logic.receive_propose(from, m->epoch);
}
void Elector::handle_ack(MonOpRequestRef op)