1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb
Martin Schwenke 41cd44724e ctdb-mutex: Add support for exiting if the lock file disappears
If the lock file is inaccessible or the inode number changes then the
lock is lost, so exit.  This allows the recovery daemon to trigger an
election.  The ensuing recovery will re-take the lock.

By default the lock file is checked every 60 seconds.  A lot can
happen in 60 seconds but being more aggressive and accessing the lock
too often could result in a performance issue for the cluster
filesystem.

An new optional 2nd argument is added, which is the lock file re-check
time in seconds.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-07-26 03:34:17 +00:00
..
client ctdb-client: Fix potentially uninitialised data 2019-06-05 10:25:50 +00:00
cluster ctdb-cluster: CID 1435726: NULL pointer dereference 2019-06-05 10:25:50 +00:00
common ctdb-common: Fix empty value handling in conf 2019-07-26 03:34:16 +00:00
config ctdb-config: depend on /etc/ctdb/nodes file 2019-07-05 06:49:16 +00:00
database ctdb-database: Fix signed/unsigned comparison by casting 2019-07-05 05:03:24 +00:00
doc ctdb-tools: Drop onnode -o option 2019-07-05 05:03:22 +00:00
event ctdb-event: Fix signed/unsigned comparisons by casting 2019-07-05 05:03:24 +00:00
failover ctdb-failover: Add failover configuration options 2018-08-24 10:59:21 +02:00
ib ctdb-ib: Drop a bit-rotted test example from the README 2018-03-19 02:23:17 +01:00
include ctdb-daemon: Drop unused function ctdb_vfork_with_logging() 2019-07-05 05:03:24 +00:00
packaging/RPM ctdb-packaging: Test package requires tcpdump 2019-03-15 05:17:14 +00:00
protocol ctdb-protocol: Avoid signed/unsigned comparison by casting 2019-07-05 05:03:24 +00:00
server ctdb-mutex: Add support for exiting if the lock file disappears 2019-07-26 03:34:17 +00:00
tcp ctdb-daemon: Replace function ctdb_ip_to_nodeid() with ctdb_ip_to_pnn() 2019-07-05 05:03:23 +00:00
tests ctdb-mutex: Add support for exiting if the lock file disappears 2019-07-26 03:34:17 +00:00
tools ctdb-tools: CID 1449530 - Negative loop bound 2019-07-05 06:49:16 +00:00
utils ctdb-utils: Fix CID 1125558 (Unchecked return value from library) 2019-06-05 12:09:56 +00:00
.bzrignore more code rearrangement 2007-06-07 22:16:48 +10:00
.gitignore ctdb-build: use a fixed ctdb_version.h using SAMBA_VERSION_STRING 2019-03-15 05:17:14 +00:00
configure build: Move python detection back into waf (instead of in configure and Makefile) 2018-12-14 14:40:19 +01:00
configure.rpm ctdb-packaging: Update library versions to upstream versions 2018-12-18 07:12:09 +01:00
COPYING add a licence file 2009-02-07 08:10:34 +11:00
Makefile build: Move python detection back into waf (instead of in configure and Makefile) 2018-12-14 14:40:19 +01:00
README doc: README - add information about CTDB, license and website 2012-10-22 17:39:49 +11:00
wscript ctdb-mutex: Change parent checking to use an asynchronous computation 2019-07-26 03:34:17 +00:00

This is the release version of CTDB, a clustered implementation of TDB
database used by Samba and other projects to store temporary data.

This software is freely distributable under the GNU public license,
a copy of which you should have received with this software (in a file
called COPYING).

For documentation on CTDB, please visit CTDB website http://ctdb.samba.org.