recoverd: No need to check if node is recovery master when inactive
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jun 2013 05:46:04 +0000 (15:46 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:53 +0000 (13:35 +0200)
commit91391d83399704ac78f7a332158adef495d85821
tree61d451cf7ddb2bc4d4a5c9727be7294ed6799879
parent46ecf6f7311ac1584393a96a152002cc62ec38f1
recoverd: No need to check if node is recovery master when inactive

If a node is stopped or banned, it will cause early return from the
main_loop, so this check is redundent.  The election will called by an
active node.

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