The message queuing logic shouldn't be run in a leader state; a leader will never recognize there's an election ongoing. In fact, the period of time in which an election is occurring is nuanced for all replicas.
I'm not sure we even want to be queueing messages during elections. We can just drop messages and the clients will retry. We should get the basic protocol working before we add optimizations on top of it.
The message queuing logic shouldn't be run in a leader state; a leader will never recognize there's an election ongoing. In fact, the period of time in which an election is occurring is nuanced for all replicas.
I'm not sure we even want to be queueing messages during elections. We can just drop messages and the clients will retry. We should get the basic protocol working before we add optimizations on top of it.
@9define