ctdb-daemon: Skip monitoring when not in RUNNING runstate
authorMartin Schwenke <martin@meltin.net>
Mon, 4 Sep 2017 04:39:01 +0000 (14:39 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 14 Sep 2017 12:49:15 +0000 (14:49 +0200)
commit12cf6640e4a1e3b6fd733ee9a81ebb2dafa71559
treebe5c66503669e5f6cfafcebf649dae7f53d3a441
parent873db694c9c89016bda0b633802b8eb47a06a0ab
ctdb-daemon: Skip monitoring when not in RUNNING runstate

Monitoring does not need to be done in other states.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_monitor.c