1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/include
Amitay Isaacs 30299c387f daemon: On shutdown, destroy timed events that check if recoverd is active
When CTDB is shutting down, recovery daemon is stopped, but the
event that checks if recovery daemon is still alive is not destroyed.
So recovery master is restarted during shutdown if CTDB daemon takes
longer to shutdown.

There are two processes that check if recovery daemon is working.

1. ctdb_check_recd() - which checks every 30 seconds if the recovery
   daemon process exists.

2. ctdb_recd_ping_timeout() - which is triggered when recovery daemon
   fails to ping CTDB daemon.

Both the events are periodic and need to be destroyed when shutting down.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 746168df2e691058e601016110fae818c6a265c3)
2013-01-09 13:20:26 +11:00
..
cmdline.h moved cmdline.c to common code 2007-04-17 22:16:50 +10:00
ctdb_client.h Correct include for ctdb_protocol.h 2012-10-09 23:13:29 +11:00
ctdb_private.h daemon: On shutdown, destroy timed events that check if recoverd is active 2013-01-09 13:20:26 +11:00
ctdb_protocol.h recoverd: Add CTDB_SRVID_GETLOG and CTDB_SRVID_CLEARLOG 2012-10-22 11:15:36 +11:00
ctdb_typesafe_cb.h rename ccan/typesafe_cb.h to ctdb_typesafe_cb.h and 2010-06-02 09:18:48 +10:00
ctdb.h libctdb: add ctdb_getcapabilities() 2012-09-28 17:05:34 +10:00
idtree.h - added in idtree for efficient reqid handling 2006-11-28 20:48:34 +11:00
includes.h server: Replace BOOL datatype with bool, True/False with true/false 2012-05-28 11:22:25 +10:00