[ 
https://issues.apache.org/jira/browse/RATIS-1912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-1912.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

The pull request is now merged.  Thanks [~LiJinglun]!

> Fix infinity election when perform membership change.
> -----------------------------------------------------
>
>                 Key: RATIS-1912
>                 URL: https://issues.apache.org/jira/browse/RATIS-1912
>             Project: Ratis
>          Issue Type: Bug
>          Components: server
>            Reporter: Jinglun
>            Assignee: Jinglun
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: 954_review.patch, 
> merbership_new_peere_initial_group_problem.pdf
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Starting new peers with empty conf when membership changes can cause infinity 
> election.
> Supposing we want to replace 2 peers from a 3 peers cluster. Normally we 
> start the 2 new peers with empty conf. This can cause an infinity election 
> and make the cluster unavailable forever.
>  
> I will upload a patch to describe the case. And I will upload a document to 
> describe the current dilemma when performing membership changes.
> TestMembership simulates the 'replacing 2 peers from a 3 peers cluster' 
> issue. It ends with an infinity leader election.  
> ([https://github.com/apache/ratis/pull/943/files])



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to