]> 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>
Thu, 5 Jun 2025 10:57:15 +0000 (10:57 +0000)
commit9e4b88f800bd838dacbf769b4319554ac391a3a2
tree8b9b569a7a7b3aed6931e5ee025636e463797ddd
parentee3415e3c86067cfc5bfe40fc35da6f88684c9ba
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