ctdb-daemon: Exit if eventd goes away
commit1e07fa98de696165a2391b0c5b58a990e61abcda
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Oct 2018 00:26:06 +0000 (11 11:26 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 29 Oct 2018 08:26:13 +0000 (29 09:26 +0100)
tree383b853ffa883e3171c6ff9afabc0806c3f9dd0e
parent995a75e4b65d6fbbec808bb395e5c180e55af8ca
ctdb-daemon: Exit if eventd goes away

ctdbd enters a broken state if eventd goes away.  A clean shutdown is
not possible because that involves running events.  Restarting eventd
is possible but this might mask a serious problem and it is possible
that eventd might keep on disappearing.  Just exit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13659

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit c9e1603a5d0c1a216439d4a2b0e7cdc05181e898)
ctdb/server/eventscript.c