add a new transport method so that when a node is marked as dead, we
authorRonnie Sahlberg <sahlberg@ronnie>
Thu, 18 Oct 2007 22:58:30 +0000 (08:58 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Thu, 18 Oct 2007 22:58:30 +0000 (08:58 +1000)
commit0256db470879ce556b0f00070f7ebeaf37e529ab
treecfbfaa649ba3906b2661b8783328751d0ef49aea
parent27a5f9dead44890683f9dbc4f07cda11264aa03b
add a new transport method so that when a node is marked as dead, we
shut down and restart the transport

othervise, if we use the tcp transport the tcp connection might try to
retransmit the queued data during the time the node is unavailable.
this together with the exponential backoff for tcp means that the tcp
connection quickly reaches the maximum backoff rto which is often 60 or
120 seconds.   this would mean that it could take up to 60/120 seconds
before the tcp layer detects that the connection is dead and it has to
be reestablished.
include/ctdb_private.h
server/ctdb_server.c
tcp/tcp_init.c