1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/tcp
Martin Schwenke 38dc6d11a2 ctdb-daemon: Revert "We can not assume that just because we could complete a TCP handshake"
We also can not assume that nodes can be marked as connected via only
the keepalive mechanism.  Keepalives are not sent to disconnected
nodes so, in the absence of other packets (e.g. broadcasts), 2 nodes
may never become marked as connected to each other.

Revert to marking nodes as connected in the TCP transport code.  If a
connection is to a non(-operational) ctdbd then it will revert to
disconnected after a short while and may actually flap.  This should
be rare.

This reverts commit 66919db3d7.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-04-12 07:11:30 +00:00
..
ctdb_tcp.h ctdb-daemon: Stop using tevent compatibility definitions 2015-10-30 02:00:27 +01:00
tcp_connect.c ctdb-daemon: Revert "We can not assume that just because we could complete a TCP handshake" 2019-04-12 07:11:30 +00:00
tcp_init.c ctdb-transport: Replace ctdb_logging.h with common/logging.h 2015-11-16 00:46:15 +01:00
tcp_io.c ctdb: Remove double sanity checks from ctdb_tcp_read_cb 2018-04-04 09:31:04 +02:00