ctdb-daemon: ensure restart() callback is called in half-connected state
authorRalph Boehme <slow@samba.org>
Sat, 29 Feb 2020 11:26:19 +0000 (12:26 +0100)
committerMartin Schwenke <martins@samba.org>
Thu, 12 Mar 2020 03:47:30 +0000 (03:47 +0000)
commit6a4fa0785fc83561939fa41617d526eb96c1af89
treeab089479c91637b8854aaf0c25bffe333f812bae
parent808d6c0c533b63cb2efac25755e09b72fdf65a87
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>
ctdb/server/ctdb_server.c