ctdb-recovery-helper: Add banning to parallel recovery

Enterprise / Samba - Amitay Isaacs [gmail.com] - 25 March 2016 00:57 UTC

If one or more nodes are misbehaving during recovery, keep track of failures as ban_credits. If the node with the highest ban_credits exceeds 5 ban credits, then tell recovery daemon to assign banning credits.

This will ban only a single node at a time in case of recovery failure.

c51b8c2 ctdb-recovery-helper: Add banning to parallel recovery
ctdb/server/ctdb_recovery_helper.c | 95 +++++++++++++++++++++++++++++++++---
1 file changed, 87 insertions(+), 8 deletions(-)

Upstream: gitweb.samba.org


  • Share