[PATCH] Separate event handling daemon from ctdbd
martin at meltin.net
Fri Dec 16 06:02:06 UTC 2016
On Thu, 15 Dec 2016 20:46:22 +1100, Amitay Isaacs <amitay at gmail.com>
> In the efforts to split the monolithic ctdb daemon into multiple smaller
> processes, this is the first piece of the code that is separated as a new
> daemon. ctdb-eventd will be a long running daemon that is started from
> ctdbd (similar to recovery daemon) and handles the job of running events.
> This patch series following new abstractions:
> - run_proc to execute an external binary and capture the output.
> - sock_daemon a framework to writing daemons using unix domain sockets
> The eventd code introduces the following new code:
> - Eventd protocol and marshalling code
> - Eventd implementation
> - Client code to talk to eventd
> - CTDB tool helper (ctdb_event)
> - Tests to ensure the expected behaviour of eventd
> The existing functionality related to handling events has been dropped from
> ctdb daemon.
> Since the patch series is large, here's the git reference:
> Please review and push.
With the doc FIXMEs and missing talloc_free() we discussed added...
Reviewed-by: Martin Schwenke <martin at meltin.net>
peace & happiness,
More information about the samba-technical