]> 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)
committerJule Anger <janger@samba.org>
Mon, 2 Jun 2025 11:27:12 +0000 (11:27 +0000)
commite7e4b44f3726f7ee0a81cc6ccc655890259906d3
tree0d73793e31b4c5ef3e13464714790fe28a946c1b
parent72b32a4ee764e17e4db5156e37070cfd65f27f34
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>
(cherry picked from commit b84fbd7b3fedc998633400981ce0c5dc963d052e)
ctdb/server/ctdb_daemon.c