ctdb-recoverd: Add fail callback to assign banning credits
commitda94f78c55e2c06ebb3a581f8e00da496806ef0e
authorMartin Schwenke <martin@meltin.net>
Thu, 18 Jan 2018 08:58:15 +0000 (18 19:58 +1100)
committerStefan Metzmacher <metze@samba.org>
Thu, 27 Aug 2020 10:48:08 +0000 (27 10:48 +0000)
treed753c2256fc46e93af5ff2a8a1ada60cacc5ba93
parent05b46fa631bec783371745a82e7f63ebc7783a7b
ctdb-recoverd: Add fail callback to assign banning credits

Also drop error handling in main_loop() that is replaced by this
change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14466
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 10ce0dbf1c11eaaab7b28b6bbd014235a36d1962)
ctdb/server/ctdb_recoverd.c