[PATCH] Improve run_event abstraction in CTDB

Amitay Isaacs amitay at gmail.com
Tue Jun 5 16:00:09 UTC 2018


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

- Improve error reporting

- Ability to run scripts even if one or more script(s) fail.  This is
required for notifications.

Please review and push.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patch
Type: text/x-patch
Size: 25577 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180606/ebb762c5/ctdb.bin>

More information about the samba-technical mailing list