From d5374e1fa097f616f06b3d481ab4b5608da03881 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Thu, 27 Feb 2020 16:51:40 +0000 Subject: [PATCH] ctdb/tcp: Don't ignore (re)connection attempts from restarted node since 77deaadca8e8dbc3c92ea16893099c72f6dc874e a nodeA which had previously accepted a connection from nodeB (where nodeB dies e.g. as as result of fencing) when nodeB attempts to connect again after restarting is always rejected with ctdb_listen_event: Incoming queue active, rejecting connection from w.x.y.z messages. Signed-off-by: Noel Power --- ctdb/tcp/tcp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/tcp/tcp_init.c b/ctdb/tcp/tcp_init.c index 559ad8691d0..566ce58186d 100644 --- a/ctdb/tcp/tcp_init.c +++ b/ctdb/tcp/tcp_init.c @@ -123,7 +123,7 @@ static void ctdb_tcp_restart(struct ctdb_node *node) DEBUG(DEBUG_NOTICE,("Tearing down connection to dead node :%d\n", node->pnn)); ctdb_tcp_stop_connection(node); - + TALLOC_FREE(tnode->in_queue); tnode->connect_te = tevent_add_timer(node->ctdb->ev, tnode, timeval_zero(), ctdb_tcp_node_connect, node); -- 2.24.1