Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1912

Fix infinity election when perform membership change.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • election
    • None

    Description

      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)

      Attachments

        1. 954_review.patch
          16 kB
          Tsz-wo Sze
        2. merbership_new_peere_initial_group_problem.pdf
          143 kB
          Jinglun

        Issue Links

          Activity

            People

              LiJinglun Jinglun
              LiJinglun Jinglun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m