ctdb-daemon: ensure restart() callback is called in half-connected state
commit503427f7d67b94841c117bb3bf9e77587589ac19
authorRalph Boehme <slow@samba.org>
Sat, 29 Feb 2020 11:26:19 +0000 (29 12:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 19 Mar 2020 09:37:11 +0000 (19 09:37 +0000)
tree09724132566116380a0527260de6f6729099a7ed
parent586ac88bca4fcaef3532022e21177aed27350d9d
ctdb-daemon: ensure restart() callback is called in half-connected state

If NODE_FLAGS_DISCONNECTED is set the node can be in half-connected state. With
this change we ensure to restart the transport for this case.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14295

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 6a4fa0785fc83561939fa41617d526eb96c1af89)
ctdb/server/ctdb_server.c