mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
Add debug output to indicate why a node starts up in DISABLED state
(This used to be ctdb commit 8df75775966ead36e1073896fedeff674a6e0587)
This commit is contained in:
parent
39539f6044
commit
f3b474cffb
@ -121,6 +121,7 @@ static int ctdb_add_node(struct ctdb_context *ctdb, char *nstr)
|
||||
|
||||
/* do we start out in DISABLED mode? */
|
||||
if (ctdb->start_as_disabled != 0) {
|
||||
DEBUG(DEBUG_INFO, ("This node is configured to start in DISABLED state\n"));
|
||||
node->flags |= NODE_FLAGS_DISABLED;
|
||||
}
|
||||
}
|
||||
|
@ -315,6 +315,7 @@ static int ctdb_tcp_listen_automatic(struct ctdb_context *ctdb)
|
||||
ctdb->pnn));
|
||||
/* do we start out in DISABLED mode? */
|
||||
if (ctdb->start_as_disabled != 0) {
|
||||
DEBUG(DEBUG_INFO, ("This node is configured to start in DISABLED state\n"));
|
||||
ctdb->nodes[i]->flags |= NODE_FLAGS_DISABLED;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user