[PATCH] ctdb-takeover: Do not kill smbd processes on releasing IP

Martin Schwenke martin at meltin.net
Fri Mar 4 08:39:36 UTC 2016

On Fri, 4 Mar 2016 17:16:41 +1100, Amitay Isaacs <amitay at gmail.com>

> When CTDB on a node is releasing an IP address, CTDB kills the server side
> TCP connection and also notifies Samba with SRVID_RELEASE_IP message.
> Samba can take appropriate action based on closed connection and SRVID
> notification.  There is no need to kill smbd processes that were serving
> the released IP address.
> Please review and push.

In ctdb_release_all_ips(), should we add a:

  ctdb_daemon_send_message(ctdb, ctdb->pnn, CTDB_SRVID_RELEASE_IP, ...);

before we remove the call to release_kill_clients()?

peace & happiness,

More information about the samba-technical mailing list