+ // TODO :it needs to rewrite for StateMachine (INITIALIZED, TRY_TO_TAKE_LEADERSHIP, LEADER, FOLLOWER, TERMINATED)
+ // INITIALIZED : we have registered baseCandidate and we are waiting for first EOS response (!do we really need it?)
+ // FOLLOWER : baseCandidate is registered correctly
+ // TRY_TO_TAKE_LEADERSHIP : guardCandidate is registered correctly
+ // LEADER : both candidate have mastership from EOS
+ // TERMINATED : service go down