[ https://issues.apache.org/jira/browse/RATIS-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mukul Kumar Singh updated RATIS-290: ------------------------------------ Attachment: RATIS-290.003.patch > Raft server should notify the state machine if no leader is assigned for a > long time > ------------------------------------------------------------------------------------ > > Key: RATIS-290 > URL: https://issues.apache.org/jira/browse/RATIS-290 > Project: Ratis > Issue Type: Bug > Components: server > Affects Versions: 0.3.0 > Reporter: Mukul Kumar Singh > Assignee: Mukul Kumar Singh > Priority: Major > Labels: ozone > Fix For: 0.3.0 > > Attachments: RATIS-290.003.patch > > > In ratis a raft server can be in 3 state, Candidate, Leader and Follower. Out > of these state, in a cluster, one node being a leader and others being the > follower is the steady system state. This jira proposes to add a new api to > identify if a node is left aside because of network partition and is without > a leader. > Once it is detected that a node has been in candidate for a sufficiently long > time, then a callback to the state machine will be triggered to handle this > partitioned node. -- This message was sent by Atlassian JIRA (v7.6.3#76005)