Tsz Wo Nicholas Sze commented on RATIS-100:

> ... a RaftServer may stay in STARTING state forever ...

Here is why:
- When a new nodes is started, it is in STARTING state to catch up logs.  In 
STARTING state, it does not vote until a leader send a appendEntries call.
- If a large number of new nodes are added, then the old leader steps down.  
One or more node may start a leader election.  However, there could be many new 
nodes still in STARTING state and refuse to vote.
- Then, no new leader can be elected.

> Test multiple raft groups with a state machine
> ----------------------------------------------
>                 Key: RATIS-100
>                 URL: https://issues.apache.org/jira/browse/RATIS-100
>             Project: Ratis
>          Issue Type: Test
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: r100_20170804.patch
> We propose to add a test similar to 
> ReinitializationBaseTest.runTestReinitializeMultiGroups(..) with a state 
> machine so that it can test if the states are recorded correctly.

This message was sent by Atlassian JIRA

Reply via email to