LeadershipLostException
class LeadershipLostException(message: String = "leadership lost while proposal was in flight") : Exception
Thrown by RaftNode.propose when this node loses leadership while waiting for the proposal to be committed by a quorum.
The entry may or may not have been replicated to a majority before the step-down. Callers must treat the proposal as having an unknown outcome and should either retry (idempotent commands) or use a deduplication key.