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

Combine notifyLeader and notifyLeaderChanged calls on StateMachine

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.0
    • raft-group, server
    • None

    Description

      RATIS-678 introcuded notifyLeaderChanged API on the StateMachine interface which will be called to notify the statemachine when the leaderId changes on leader as well as the follower.

      Downstream services like Ozone utilize this functionality to decide when the Raft group is ready to accept writes and do open the write pipeline.

      Purpose of this jira is to combine notifyLeader and notifyLeaderChanged into a single API.

      Attachments

        1. RATIS-693.02.patch
          4 kB
          Siddharth Wagle
        2. RATIS-693.01.patch
          4 kB
          Siddharth Wagle

        Issue Links

          Activity

            People

              swagle Siddharth Wagle
              swagle Siddharth Wagle
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: