recoverd: Do not set banning credits on a node if current node is inactive
authorAmitay Isaacs <amitay@gmail.com>
Fri, 28 Jun 2013 04:10:47 +0000 (14:10 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 26 Aug 2013 11:35:53 +0000 (13:35 +0200)
commit54731e435582ae00fcc38eacecbfe569bd30055f
tree88397512e097a210083108e79cd42ba9e100b296
parent0fea80054ea3ec1cef8d0b100e8b9631b8aac753
recoverd: Do not set banning credits on a node if current node is inactive

If the current node is banned or stopped, then it should not assign banning
credits to other nodes since the current node will not have up-to-date flags
of other nodes.

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