Re: slave-net-timeout

2010-05-27 Thread Johan De Meersman
On Thu, May 27, 2010 at 1:43 AM, Jesper Wisborg Krogh
jes...@noggin.com.auwrote:

 E.g. setting slave_net_timeout to 180 seconds, then an event that takes 240
 seconds to transfer will never make it through. The replication will make
 it
 75% through and then start all over.


Without bothering to read or test, I'd guess that if an event takes 240
seconds to be sent, then that means that for 240 seconds, data is being
pumped.

Also, there's undoubtedly a keepalive in the protocol for those quiet times.


-- 
Bier met grenadyn
Is als mosterd by den wyn
Sy die't drinkt, is eene kwezel
Hy die't drinkt, is ras een ezel


slave-net-timeout

2010-05-26 Thread Jesper Wisborg Krogh
Hi,

According to the manual, the slave-net-timeout specifies how long time to wait 
for data from the master before considering the connection dead. From my 
experience this actually means that the slave will reconnect if it hasn't 
received a full event in that period of time.

E.g. setting slave_net_timeout to 180 seconds, then an event that takes 240 
seconds to transfer will never make it through. The replication will make it 
75% through and then start all over.

Does anyone know whether that is a bug in the implementation, or whether it is 
the documentation that could be more clear?

Thanks,
Jesper

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org