Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-737

Clustering : Refactor RaftActor to remove the need for RaftState

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • clustering
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1631

    Description

      RaftActor maintains a state machine where the state is represented by the RaftActorBehavior. It also maintains an enumeration called RaftState which basically nothing but the "friendly" name of the RaftActorBehavior which can be passed around.

      The RaftActorBehavior is mutable so if we do need to pass it around even to sub-classes we need to do it carefully hence for now this refactoring is deferred till after Helium.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mark.mozolewski@hp.com Mark Mozolewski
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: