recoverd: Always do an early exit from main_loop if node is stopped or banned
authorAmitay Isaacs <amitay@gmail.com>
Thu, 27 Jun 2013 05:39:15 +0000 (15:39 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:53 +0000 (13:35 +0200)
commit46ecf6f7311ac1584393a96a152002cc62ec38f1
tree8b3d6af3893bec24669194a48788836b5bd52a66
parent6c5d3640e8ef3949b1707724feb1c739b94c4b89
recoverd: Always do an early exit from main_loop if node is stopped or banned

A stopped or banned node cannot do anything useful.  So do not participate
in any cluster activity and do not cause any unnecessary network traffic.

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