ctdb-daemon: Don't mark a node as unhealthy when connecting to it
commitcea68cbf537b6d44eb199126dc2ccf97fd3fff55
authorMartin Schwenke <martin@meltin.net>
Fri, 9 Jul 2021 07:25:32 +0000 (9 17:25 +1000)
committerJule Anger <janger@samba.org>
Mon, 13 Sep 2021 14:13:00 +0000 (13 14:13 +0000)
treec64211331abd88274b49598b66d02420c4080ede
parent479fc4fee0c78dd8e6fcab929480d08ec5ccfba2
ctdb-daemon: Don't mark a node as unhealthy when connecting to it

Remote nodes are already initialised as UNHEALTHY when the node list
is initialised at startup (ctdb_load_nodes_file() calls
convert_node_map_to_list()) and when disconnected (ctdb_node_dead()).
So, drop this code.

RN: Fix CTDB flag/status update race conditions
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14784
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Thu Sep  9 02:38:34 UTC 2021 on sn-devel-184

(cherry picked from commit 9e7d2d9794af7251c42cb22f23ee9f86c6ea05c1)

Autobuild-User(v4-13-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-13-test): Mon Sep 13 14:13:00 UTC 2021 on sn-devel-184
ctdb/server/ctdb_server.c