We can not assume that just because we could complete a TCP handshake
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 18 Jul 2008 00:59:34 +0000 (10:59 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 18 Jul 2008 00:59:34 +0000 (10:59 +1000)
commit66919db3d7ab1e091223faf515b183af8bfddc83
treee6b3b3c62596a47677cb6b74dc036f90a6e574f0
parent6d5f96c24911f474a1d288f37271e5dbdd878528
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)
ctdb/tcp/tcp_connect.c