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

Add getLeaderId method to DivisionInfo

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • API
    • None

    Description

      Currently in DivisionInfo, Peer can obtain its role through getCurrentRole. However, when the peer is follower, application want to know who is the current group leader in some scenario. We can add a getLeader interface to DivisionInfo to provide the peer's best knowledge about current leader.

      Attachments

        Issue Links

          Activity

            People

              tanxinyu Xinyu Tan
              William Song Song Ziyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Time Spent - 1h 20m Remaining Estimate - 46h 40m
                  46h 40m
                  Logged:
                  Time Spent - 1h 20m Remaining Estimate - 46h 40m
                  1h 20m