Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
Description
When leader election times out, candidate should change to follower so that it can restart leader election process. New leader election is started when server transitions from follower to candidate. If server remains in candidate state, new leader election will not be started.
In TestStateMachineShutdownWithGrpc, it was seen that all the servers see leader election timeout and remain in CANDIDATE state. Therefore new leader is never elected.