BUG-8618: introduce RaftActor.unpauseLeader() 32/60032/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Jul 2017 15:15:21 +0000 (17:15 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 14 Jul 2017 17:16:31 +0000 (17:16 +0000)
commit3a10a45e0f78337435c8bc84015c4724a9fa7741
tree1b82d9d0180ea1e55b2e7ac5700d89659cf135ce
parent2783c9dffdd91dae87d3351f4ebffbd8679e3133
BUG-8618: introduce RaftActor.unpauseLeader()

This is a preparatory patch, which notifies RaftActor when
the operation hooked to pauseLeader() fails to complete and the
leader should resume its normal operation.

This is needed to correctly resume operations of tell-based protocol
after a pauseLeader() completes without actually changing the leader.

Change-Id: Ia00e52ebb327575a484af62bf0c31131a33303b3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActor.java
opendaylight/md-sal/sal-akka-raft/src/main/java/org/opendaylight/controller/cluster/raft/RaftActorLeadershipTransferCohort.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.