ctdb-takeover: Only apply banning credits to the worst offender
authorMartin Schwenke <martin@meltin.net>
Thu, 5 May 2016 05:53:48 +0000 (15:53 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 13 May 2016 11:47:17 +0000 (13:47 +0200)
commit1e9f650382c25ba2c9b9d41c90fcce7372f100e3
tree62387a4cad8e3335508cd502a6d14d706b33376a
parent1c60694e53e8c904c3f5ab0e215579b8d339f910
ctdb-takeover: Only apply banning credits to the worst offender

Post-process failues and only send banning credits to the node with
the most failures.

If there is a widespread problem or a problem on the recovery master
node then this should help avoid banning all the nodes.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c