[PATCH] Rework ctdb_killtcp using a tevent_req computation, plus supporting code
martin at meltin.net
Fri Sep 15 02:43:42 UTC 2017
This is a rewrite of CTDB's TCP connection killing tool. It now uses a
tevent_req computation that is ready to be factored out and incorporated
into the upcoming connection tracking rewrite/modularisation.
The patches series does these things:
* Separate out ctdb-protocol-util from the ctdb-protocol subsystem
* Add additional protocol utility code for parsing and printing
* Add ctdb_connection_list, marshalling and supporting utilities
* Clean up ctdb_killtcp
* Rework ctdb_killtcp to use tevent_req computation
The series contains one commit from Amitay that already has my review.
With this upstream, my connection tracking branch will be smaller and
easier to review (soon!). However, this work will need to go "on ice"
for a little while. It uses a replicated database and needs to fit
into a changed design where services, including IP failover, are shut
down when a node is inactive (and databases are inaccessible). This is
was planned but I forgot about it and tried to integrate the new
connection tracking subsystem anyway... ;-)
There are some other code clean-ups to come that can take advantage this
Please review and maybe push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 112852 bytes
Desc: not available
More information about the samba-technical