[PATCH] Separate event handling daemon from ctdbd

Amitay Isaacs amitay at gmail.com
Sat Dec 17 23:46:27 UTC 2016


On Fri, Dec 16, 2016 at 5:02 PM, Martin Schwenke <martin at meltin.net> wrote:

> On Thu, 15 Dec 2016 20:46:22 +1100, Amitay Isaacs <amitay at gmail.com>
> wrote:
>
> > 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:
> >
> >
> > https://git.samba.org/?p=amitay/samba.git;a=shortlog;h=
> refs/heads/ctdb-eventd
> >
> > Please review and push.
>
> With the doc FIXMEs and missing talloc_free() we discussed added...
>
> Reviewed-by: Martin Schwenke <martin at meltin.net>
>
>
Pushed with the changes (missing talloc_free() and missing documentation).

Amitay.


More information about the samba-technical mailing list