1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/server
Martin Schwenke f46ab595d1 recoverd: Call takeover fail callback only once per node
Currently the fail callback is called once per (takeip/releaseip) control
failure.  This is overkill and can get a node banned much too quickly.

Instead, keep track of control failures per node and only call fail
callback once per failed node.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit bf4a7c1ad87e0e848296d15d63eb8cd901ca5335)
2013-07-29 15:48:48 +10:00
..
ctdb_banning.c banning: Do not come out of ban if databases are not frozen 2013-07-02 12:59:09 +10:00
ctdb_call.c ctdbd: Set process names for child processes 2013-07-10 14:33:19 +10:00
ctdb_control.c ctdbd: Remove incomplete ctdb_db_statistics_wire structure 2013-07-10 14:33:18 +10:00
ctdb_daemon.c ctdbd: Sleep at exit to allow time for log messages to flush 2013-07-19 15:40:59 +10:00
ctdb_freeze.c freeze: Make ctdb_start_freeze() a void function 2013-07-02 12:59:08 +10:00
ctdb_keepalive.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_lock_helper.c locking: Add a standalone helper to lock record/db 2013-05-24 09:06:39 +10:00
ctdb_lock.c locking: Use external script to debug locking issues 2013-07-10 14:33:18 +10:00
ctdb_logging.c Fixes for various issues found by Coverity 2013-07-11 15:16:55 +10:00
ctdb_ltdb_server.c Fixes for various issues found by Coverity 2013-07-11 15:16:55 +10:00
ctdb_monitor.c ctdbd: Allow extra recovery to repair persistent DBs during first recovery 2013-07-19 15:35:41 +10:00
ctdb_persistent.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_recover.c Check return value of tdb_delete() 2013-07-11 15:16:55 +10:00
ctdb_recoverd.c recoverd: Really fix bogus info in message about changed flags 2013-07-11 15:18:06 +10:00
ctdb_server.c build: Fix tdb.h path to enable building with system TDB library 2013-06-14 16:45:27 +10:00
ctdb_serverids.c RB_TREE: Add mechanism to abort a traverse 2011-11-08 13:40:28 +11:00
ctdb_statistics.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_takeover.c recoverd: Call takeover fail callback only once per node 2013-07-29 15:48:48 +10:00
ctdb_traverse.c ctdbd: Set process names for child processes 2013-07-10 14:33:19 +10:00
ctdb_tunables.c ctdbd: No need for DeadlockTimeout tunable 2013-07-10 14:33:18 +10:00
ctdb_update_record.c ctdbd: Set process names for child processes 2013-07-10 14:33:19 +10:00
ctdb_uptime.c Remove explicit include of lib/tevent/tevent.h. 2012-04-13 17:28:14 +10:00
ctdb_vacuum.c ctdbd: Set process names for child processes 2013-07-10 14:33:19 +10:00
ctdbd.c ctdbd: Add --pidfile option 2013-04-18 13:21:59 +10:00
eventscript.c ctdbd: Pass event name to hung script debugger 2013-07-23 11:28:07 +10:00