Kaperstone / mogilefs

Automatically exported from code.google.com/p/mogilefs
0 stars 0 forks source link

Add timeouts to replication worker's http_copy #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Most of the http_copy routine in the replicate worker doesn't have timeouts. 
Which means hanging during a file transfer means you'll hit the watchdog 
timeout every time.

Should default to something along the lines of "3/4ths of the watchdog timeout" 
for the connect/read procedures and the per-block reads/writes.

Original issue reported on code.google.com by dorma...@rydia.net on 30 Sep 2010 at 9:15

GoogleCodeExporter commented 8 years ago
I have also problem's with that:
http://groups.google.com/group/mogile/browse_thread/thread/f512aea031683b49#

I think that configurable timeouts, using node_timeout or some new value will 
be best option :)

Original comment by planck...@gmail.com on 3 Nov 2011 at 8:23

GoogleCodeExporter commented 8 years ago
maybe conn_timeout will be more appropriate

Original comment by planck...@gmail.com on 3 Nov 2011 at 10:46