[PATCH] Improve run_event abstraction in CTDB

Martin Schwenke martin at meltin.net
Tue Jun 5 20:28:49 UTC 2018


On Wed, 6 Jun 2018 02:00:09 +1000, Amitay Isaacs via samba-technical
<samba-technical at lists.samba.org> wrote:

> To support multi-component event daemon, few changes are required to
> run_event abstraction.  These include:
> 
> - Use a single instance of run_proc_context across multiple run_event
> contexts.  This is required since run_proc uses SIGCHLD handler to
> track process terminations and we cannot have multiple SIGCHLD
> handlers.
> 
> - Improve error reporting
> 
> - Ability to run scripts even if one or more script(s) fail.  This is
> required for notifications.
> 
> Please review and push.

Reviewed-by: Martin Schwenke <martin at meltin.net>

Pushed...

peace & happiness,
martin



More information about the samba-technical mailing list