recoverd: Delay the initial election if node is started in stopped state
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jun 2013 05:44:27 +0000 (15:44 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:54 +0000 (13:35 +0200)
commitc102eefead7cc3a3486229e89362f440d2f5fb4e
tree67673dea835cc05e61b0f2040dbaba3f34f1b813
parentf4d0c8a9da4613fe8740e67d2a886fbb16680a41
recoverd: Delay the initial election if node is started in stopped state

Since there is an early exit if a node is stopped or banned, we can wait till
the node becomes active to start initial election.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 593a17678fbd3109e118154b034d43b852659518)
server/ctdb_recoverd.c