Transfer leadership in PreLeader state 24/60024/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Jul 2017 13:21:16 +0000 (15:21 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Jul 2017 13:21:16 +0000 (15:21 +0200)
commitc50fd31278f5f24ed487a6f6021f6065bc2fe93f
treeebce4640a74e1d28c32fbf394f10aaccdae7dd5c
parent89894f5bd1144a954ceb0ae06ef603bdf750cfa4
Transfer leadership in PreLeader state

Rather than dying when requested to shutdown in pre-leader state,
follow the same code path we perform in normal leader mode, i.e.
transfer leadership.

Change-Id: I2ca30d44626df05c5f8b5ff6984eea20c7bf0949
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

©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.