ctdb-daemon: Exit if eventd goes away
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Oct 2018 00:26:06 +0000 (11:26 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 22 Oct 2018 04:04:20 +0000 (06:04 +0200)
commitc9e1603a5d0c1a216439d4a2b0e7cdc05181e898
treec60b06a39150a34c6e0234e2ae110b4cd84d23f7
parenta3d12252fa8e0a7e900b819dec30bdb9da458254
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>
ctdb/server/eventscript.c