Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1181 Define public APIs for StateMachine implementations
  3. RATIS-1190

Remove the abstract newRaftServer method in MiniRaftCluster

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • test
    • None

    Description

      The abstract newRaftServer method in MiniRaftCluster requires the implementations to return a RaftServerProxy objects. It is unnecessary since the implementations only has to setup RaftProperties and Parameters.

      After this change, almost all the test code does not require RaftServerProxy/RaftServerImpl.

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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