ctdb-common: Add support to run events through failure
authorAmitay Isaacs <amitay@gmail.com>
Thu, 17 May 2018 03:32:37 +0000 (13:32 +1000)
committerMartin Schwenke <martins@samba.org>
Tue, 5 Jun 2018 20:34:19 +0000 (22:34 +0200)
commit366f6703e7474f5b1c6b97b4d77b80897bdc5f69
tree76471f6e309ccf85e54c4464dd11a1c4d74be035
parente4a5d610b8e81c78b7d98217bc87c4b815b4c4e7
ctdb-common: Add support to run events through failure

Usually run_event will stop executing event scripts on first failure.
Optionally it can continue to run events even on failure(s).

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/common/run_event.c
ctdb/common/run_event.h
ctdb/server/ctdb_eventd.c
ctdb/tests/src/run_event_test.c