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

Avoid unexpected shutdown of RaftServerProxy during membership change

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      When IoTDB migrates shards, for A RaftGroup, if it wants to change from [A,B,C] to [B,C,D], it will first change it to [A,B,C,D] and then change it to [B,C,D]. After changing the member list to [B,C,D], Node A may vote again and get NOT_IN_CONF reply, in which case it will shut down the entire RaftServerProxy, which will affect the normal behavior of other RaftGroups.

      The expectation at this point is to simply close the current RaftServerImpl and not the RaftServerProxy.

      szetszwo What's your opinion?

      Attachments

        1. image-2024-04-24-11-11-41-950.png
          141 kB
          Xinyu Tan
        2. image-2024-04-24-11-11-52-374.png
          141 kB
          Xinyu Tan

        Issue Links

          Activity

            People

              tanxinyu Xinyu Tan
              tanxinyu Xinyu Tan
              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 - 50m
                  50m