[PATCH] Separate CTDB killtcp functionality into standalone helper
martin at meltin.net
Thu Mar 31 04:46:22 UTC 2016
The attached patch set moves the TCP connection killing code out of the
CTDB daemon and into a new standalone helper.
This code is used by scripts when an IP address is released and the
server end of connections need to be killed to avoid stale connections
if the IP address is failed back to the same node before the
connections time out. The scripts also kill the client end of
connections in some cases. There should be no change in behaviour.
* Fast - no communication overhead
* Centralised code
* Can now move LVS support out of daemon
The daemon-based killtcp code checked that one end of the connection
was a public address. There's no need for this given that we control
the calling code.
So, LVS support can now just become a couple of scripts.
Please review and maybe push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 122392 bytes
Desc: not available
More information about the samba-technical