1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/tcp
Ronnie Sahlberg 66919db3d7 We can not assume that just because we could complete a TCP handshake
to the remote node  that
1, we are in fact talking to a CTDB daemon
2, that IF we are talking to a ctdb daemon, it is operational.

So, we can not blindly mark the node as CONNECTED just because
we can open a TCP connection.

Instead we rely on "If we did get a KEEPALIVE from the remote node,
is is connected"

(This used to be ctdb commit 60e2cb175c449ae65793a3e1ffb60cf030a3a0d5)
2008-07-18 10:59:34 +10:00
..
ctdb_tcp.h to make it easier/less disruptive to add nodes to a running cluster 2008-02-19 14:44:48 +11:00
tcp_connect.c We can not assume that just because we could complete a TCP handshake 2008-07-18 10:59:34 +10:00
tcp_init.c listen_fd is auto-closed 2008-05-08 17:14:00 +10:00
tcp_io.c merge from ronnie 2008-02-04 20:07:15 +11:00