recoverd: Delay the initial election if node is started in stopped state
commit32f9d7c0d4a47181c84fe2832d6967f4722f5bf8
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jun 2013 05:44:27 +0000 (27 15:44 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 02:59:09 +0000 (2 12:59 +1000)
tree0b728434f13d080f4e7384c3ff07913572e5cced
parentd2411e74f10a7f7a1a30cf4b7127b08927f683f7
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>
(This used to be ctdb commit 593a17678fbd3109e118154b034d43b852659518)
ctdb/server/ctdb_recoverd.c