diff options
author | Martin Schwenke <martin@meltin.net> | 2014-12-19 15:08:40 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2015-05-10 03:22:13 +0200 |
commit | 7ee57b8d7c0b882227dab1f83187e44dd4639ad3 (patch) | |
tree | 15b2896d4b8a382117debfcc2b18ad33eae58331 /ctdb/config/events.d/00.ctdb | |
parent | 91f99ddfb3ba1cfb98223863ac3a474a5fbe4ea1 (diff) | |
download | samba-7ee57b8d7c0b882227dab1f83187e44dd4639ad3.tar.gz |
ctdb-recoverd: Short circuit takeover run if no nodes are RUNNING
If all nodes are still in, say, FIRST_RECOVERY runstate, then the logs
contain unfortunate noise like:
recoverd:Failed to find node to cover ip 10.0.2.131
This avoids that by adding an early exit that avoids running
takeover_run_core() when there are no nodes in the
CTDB_RUNSTATE_RUNNING.
To support this add the runstate to the ipflags structure. There are
clearly other ways of hacking this but this seems the simplest.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/config/events.d/00.ctdb')
0 files changed, 0 insertions, 0 deletions