ctdb-daemon: ensure restart() callback is called in half-connected state
commit0706d5394179324e988c00a9d1cabba10fcb3535
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 10:56:08 +0000 (19 10:56 +0000)
tree60b3e70fda19dbff352bdfa5ecb1c34ca5de8bb9
parentf50790c1be70af62cb2d0231cc05bdf59344b4c1
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