git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8a143a9
)
If the node is stopped, put a log entry in /var/log/* to indicate this is why we...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 31 Jan 2011 06:40:26 +0000
(17:40 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 31 Jan 2011 06:40:26 +0000
(17:40 +1100)
server/ctdb_monitor.c
patch
|
blob
|
history
diff --git
a/server/ctdb_monitor.c
b/server/ctdb_monitor.c
index fa642fb3fd7269a98a9267a5c58cbbf61976a86f..f96dde48020a4e4de73e153bc554e5449f8ac050 100644
(file)
--- a/
server/ctdb_monitor.c
+++ b/
server/ctdb_monitor.c
@@
-224,6
+224,9
@@
static void ctdb_wait_until_recovered(struct event_context *ev, struct timed_eve
int ret;
DEBUG(DEBUG_NOTICE,("CTDB_WAIT_UNTIL_RECOVERED\n"));
+ if (ctdb->nodes[ctdb->pnn]->flags & NODE_FLAGS_STOPPED) {
+ DEBUG(DEBUG_NOTICE,("Node is STOPPED. Node will NOT recover.\n"));
+ }
if (ctdb->vnn_map->generation == INVALID_GENERATION) {
ctdb->db_persistent_startup_generation = INVALID_GENERATION;