]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-daemon: Add failover on shutdown
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 12 May 2025 01:33:19 +0000 (11:33 +1000)
committerMartin Schwenke <martins@samba.org>
Thu, 29 May 2025 09:56:31 +0000 (09:56 +0000)
commitb84fbd7b3fedc998633400981ce0c5dc963d052e
tree6da89c4530d76e625bc0f117041c0ee42e268ede
parent631d1d38ad10c73aa559561bea6b5ed45c2226c4
ctdb-daemon: Add failover on shutdown

Without this, NFS servers on other nodes will not go into grace before
this node releases locks.  This should also support improved behaviour
for SMB durable file handles.

The timeout is currently a constant 10s.  However, it will
subsequently be switched to an option.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15858

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_daemon.c