[PATCH] ctdb-daemon: Revert "We can not assume that just because we could complete a TCP handshake" (bug 13888)

Martin Schwenke martin at meltin.net
Fri Apr 12 06:30:07 UTC 2019

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 66919db3d7ab1e091223faf515b183af8bfddc83.

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-daemon-Revert-We-can-not-assume-that-just-becau.patch
Type: text/x-patch
Size: 1397 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190412/4a2836a9/0001-ctdb-daemon-Revert-We-can-not-assume-that-just-becau.bin>

More information about the samba-technical mailing list