daemon: Do not ignore timed out monitor events
authorAmitay Isaacs <amitay@gmail.com>
Tue, 23 Oct 2012 04:06:33 +0000 (15:06 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 22 Nov 2012 02:02:19 +0000 (13:02 +1100)
commita630c2f4e201e1b17d5873e8a45231f92b019278
tree7c54faef0d40c6b9ceb9c2b4870c5b6ce76afb9f
parent0491fdec7b11b0e79750c92977c6cc776d5f88bf
daemon: Do not ignore timed out monitor events

If an eventscript times out for monitor event, it is considered successful
and the remaining eventscripts are not run. This can make a node prematurely
healthy, cause healthy node to fail over IPs to this node and this node will
not be able to host those IPs. Thus causing loss of access and in case of NAT-GW
configuration, loss of a default route.

Cherry-pick-from: 5205d545e8d8c72d73b9d5fd148df6de30392fc8

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
server/ctdb_tunables.c
server/eventscript.c