summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2020-03-01 16:40:41 +1100
committerKarolin Seeger <kseeger@samba.org>2020-03-19 09:37:11 +0000
commitb6419a9e9fcee7560d181382970e7f05e874f63d (patch)
treef7ed51b185cddc83233ac7ab77cbcdf0f63ff99d /ctdb
parent503427f7d67b94841c117bb3bf9e77587589ac19 (diff)
downloadsamba-b6419a9e9fcee7560d181382970e7f05e874f63d.tar.gz
ctdb-daemon: more logical whitespace, debug modernisation
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14295 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Ralph Boehme <slow@samba.org> (cherry picked from commit 15762a34559599cf908e30651a2d4c11560068ed)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/server/ctdb_server.c b/ctdb/server/ctdb_server.c
index c5d92af0cfb..4b4c2e9896f 100644
--- a/ctdb/server/ctdb_server.c
+++ b/ctdb/server/ctdb_server.c
@@ -302,11 +302,11 @@ done:
void ctdb_node_dead(struct ctdb_node *node)
{
if (node->ctdb->methods == NULL) {
- DEBUG(DEBUG_ERR,(__location__ " Can not restart transport while shutting down daemon.\n"));
+ DBG_ERR("Can not restart transport while shutting down\n");
return;
}
-
node->ctdb->methods->restart(node);
+
if (node->flags & NODE_FLAGS_DISCONNECTED) {
DEBUG(DEBUG_INFO,("%s: node %s is already marked disconnected: %u connected\n",
node->ctdb->name, node->name,