Lokesh Jain created RATIS-909:
---------------------------------
Summary: Candidate does not transition to follower on leader
election timeout
Key: RATIS-909
URL: https://issues.apache.org/jira/browse/RATIS-909
Project: Ratis
Issue Type: Bug
Reporter: Lokesh Jain
Assignee: Lokesh Jain
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)