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

Notify StateMachine on Configuration change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • StateMachine
    • None

    Description

      When Ratis receives a Configuration change request (SetConfiguration), the StateMachine is only notified of index update.

      CompletableFuture<Message> applyLogToStateMachine(LogEntryProto next) {
        if (!next.hasStateMachineLogEntry()) {
          stateMachine.notifyIndexUpdate(next.getTerm(), next.getIndex());
        } else if (next.hasStateMachineLogEntry()) {
        ......

      This Jira aims to add a method in StateMachine interface to notify StateMachine about configuration change.

      Attachments

        Issue Links

          Activity

            People

              hanishakoneru Hanisha Koneru
              hanishakoneru Hanisha Koneru
              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 - 20m
                  20m