summaryrefslogtreecommitdiff
path: root/ctdb/tcp
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@samba.org>2008-02-22 09:52:57 +1100
committerRonnie Sahlberg <sahlberg@samba.org>2008-02-22 09:52:57 +1100
commitf3b474cffb0216822557ff719d92b838db53ff06 (patch)
treef8ecceb763f0663e337b717cb6b81b6e52ffcb23 /ctdb/tcp
parent39539f60444b71306d5cd2a659b3bfb0f4e3de4f (diff)
downloadsamba-f3b474cffb0216822557ff719d92b838db53ff06.tar.gz
Add debug output to indicate why a node starts up in DISABLED state
(This used to be ctdb commit 8df75775966ead36e1073896fedeff674a6e0587)
Diffstat (limited to 'ctdb/tcp')
-rw-r--r--ctdb/tcp/tcp_connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tcp/tcp_connect.c b/ctdb/tcp/tcp_connect.c
index 0f14dec8c5e..0ead087c5bd 100644
--- a/ctdb/tcp/tcp_connect.c
+++ b/ctdb/tcp/tcp_connect.c
@@ -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;
}