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

Add a conf for enable/disable majority-add.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • server
    • None

    Description

      RATIS-1912 added a restriction on setConf for enforcing a safety property, otherwise, the server group may end up in a no-leader state and cannot recover by themselves. The restriction is to disallow majority-add as defined below

      • Majority-add: adding a majority of server in a single setConf.  Note that, when a single setConf removes and adds members at the same time, the majority is counted after the removal.

      This JIRA is to add a conf for enable/disable majority-add since, in some monitored environment, the safety property is not a problem. The monitor (a human or a program) could intervene to fix the problem, if it happens. Disabling the restriction can improve performance. For example, change from non-HA single server to a HA 3-server group can be done in a single setConf, instead of 2 setConfs with the restriction.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              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 - 40m
                  40m