ctdb-daemon: Skip monitoring when node is inactive
authorMartin Schwenke <martin@meltin.net>
Mon, 6 Jul 2015 05:37:23 +0000 (15:37 +1000)
committerAmitay Isaacs <amitay@samba.org>
Thu, 14 Sep 2017 12:49:15 +0000 (14:49 +0200)
commit873db694c9c89016bda0b633802b8eb47a06a0ab
treee0d9ccd9b6dfe156fedb8f8d65857df77c3fe259
parent5a782a24a786d7c744d3ff69036b9734e416a982
ctdb-daemon: Skip monitoring when node is inactive

This is currently handled by explicitly disabling monitoring in
various places.  However, those places shouldn't need to know about
monitoring but it is OK for monitoring to know about global node
states.

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