You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (JIRA)" <ji...@apache.org> on 2018/01/24 15:25:00 UTC
[jira] [Created] (RATIS-201) MiniRaftCluster#getLeader may
incorrectly throw IllegalStateException
Lokesh Jain created RATIS-201:
---------------------------------
Summary: MiniRaftCluster#getLeader may incorrectly throw IllegalStateException
Key: RATIS-201
URL: https://issues.apache.org/jira/browse/RATIS-201
Project: Ratis
Issue Type: Bug
Reporter: Lokesh Jain
Assignee: Lokesh Jain
It can be possible for more than one server to have their role set as LEADER in a ratis ring. One of the servers would actually be a leader and the rest may be LEADER from previous terms. In such a scenario MiniRaftCluster#getLeader would throw IllegalStateException.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)