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)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 2 Jul 2013 07:47:05 +0000 (17:47 +1000)
commit350ba6907b8f7122c4df21879ffbb3b74e8df93c
treef57cc612fff11a58c2b68866d3c8a062e1e6168c
parent24a0bc600acbe3deea9549ce87567e9e0f779a89
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