ctdb-takeover: Count takeover run failures
authorMartin Schwenke <martin@meltin.net>
Thu, 5 May 2016 05:36:12 +0000 (15:36 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 13 May 2016 11:47:17 +0000 (13:47 +0200)
commit1c60694e53e8c904c3f5ab0e215579b8d339f910
tree0973de0c13ecc2d42f653aaa80a6c835eac54297
parent0053b85fc63dbe1386d1053cfde0301135eba0a3
ctdb-takeover: Count takeover run failures

This will allow banning credits assignments to be limited according to
some criteria.

Note that this only matters when multiple controls are sent to each
node: RELEASE_IP and TAKEOVER_IP.  This doesn't change the behaviour
for IPREALLOCATED.

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