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