[CONTROLLER-737] Clustering : Refactor RaftActor to remove the need for RaftState Created: 27/Aug/14  Updated: 27/Oct/14  Resolved: 27/Oct/14

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Mark Mozolewski
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


External issue ID: 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.



 Comments   
Comment by Mark Mozolewski [ 22/Oct/14 ]

Submitted https://git.opendaylight.org/gerrit/#/c/11965/

Comment by Mark Mozolewski [ 27/Oct/14 ]

Merged:
https://git.opendaylight.org/gerrit/#/c/12212

Generated at Wed Feb 07 19:53:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.