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

Support priority in leader election

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 0.5.0
    • 2.0.0
    • raft-group
    • None

    Description

      In some applications, some servers in a raft group are more preferable to be the leader than the other servers. For example, a server is colocated with other resources so that having the server as the leader is more efficient than the other servers.

      In this JIRA, we propose adding priority to each server so that the higher priority server(s) will always win the leader election when they are available.

      Attachments

        1. screenshot-1.png
          203 kB
          runzhiwang
        2. screenshot-2.png
          214 kB
          runzhiwang
        3. image-2020-08-25-15-26-40-478.png
          253 kB
          runzhiwang

        Issue Links

          Activity

            People

              yjxxtd runzhiwang
              maobaolong Baolong Mao
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 5h 50m
                  5h 50m