1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/ctdb/server
Amitay Isaacs cbffbb7c2f ctdb-daemon: Do not run monitor event if any other event is already running
Any currently running monitor events are cancelled if any other events
are scheduled.  However, this does not stop monitor events to be run
when other events are already running.

Keep track of the number of active events and schedule monitor event
only if there are no active events.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
2014-01-21 11:30:41 +11:00
..
ctdb_banning.c ctdb-server: Coverity fixes 2013-11-19 17:13:03 +01:00
ctdb_call.c ctdbd: Remove transaction code related to TRANS2 commits 2013-10-04 15:20:25 +10:00
ctdb_control.c ctdb-server: Coverity fixes 2013-11-19 17:13:03 +01:00
ctdb_daemon.c ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
ctdb_event_helper.c ctdb-daemon: Add helper process to execute event scripts 2014-01-16 12:11:37 +11: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 ctdb-locking: Use vfork instead of fork to exec helpers 2013-11-27 18:46:16 +01:00
ctdb_logging.c ctdb-daemon: Remove ctdb_fork_with_logging() 2014-01-16 04:05:35 +01:00
ctdb_ltdb_server.c ctdbd: Remove duplicate database directory setting logic 2013-10-25 12:06:06 +11:00
ctdb_monitor.c ctdb/daemon: Untangle serialisation of 1st recovery -> startup -> monitor 2014-01-17 17:59:41 +11:00
ctdb_persistent.c ctdbd: Remove transaction code related to TRANS2 commits 2013-10-04 15:20:25 +10:00
ctdb_recover.c ctdb-daemon: No need to call event scripts with CTDB_CALLED_BY_USER 2014-01-16 11:41:12 +11:00
ctdb_recoverd.c ctdb/recoverd: Do not refuse disabling takeover runs on inactive nodes 2014-01-17 17:59:19 +11:00
ctdb_server.c ctdbd: When a node is connected, log at DEBUG NOTICE not DEBUG_INFO 2013-10-29 17:14:56 +11: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 ctdb-recoverd: Ignore failed ipreallocated controls to inactive nodes 2014-01-17 17:59:08 +11:00
ctdb_traverse.c traverse: Send traverse end record from traverse child process 2013-09-25 14:59:45 +10:00
ctdb_tunables.c tunables: Remove obsolete tunables 2013-10-30 15:37:11 +11: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 packaging: Move ctdb/ directory from /var to /var/lib 2013-10-25 12:06:07 +11:00
eventscript.c ctdb-daemon: Do not run monitor event if any other event is already running 2014-01-21 11:30:41 +11:00