ShareFinder: add 10s OVERDUE timer, send new requests to replace overdue ones
authorBrian Warner <warner@lothar.com>
Wed, 4 Aug 2010 07:27:41 +0000 (00:27 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 4 Aug 2010 07:27:41 +0000 (00:27 -0700)
commit20847dd8768a1622a63abfc73ec0bad0d5e594ff
tree4cd94a56fcf2e90a0b90fa331123495c95017522
parent63b61ce7bd112af71f656d7eb302e622629a1f94
ShareFinder: add 10s OVERDUE timer, send new requests to replace overdue ones

The fixed 10-second timer will eventually be replaced with a per-server
value, calculated based on observed response times.

test_hung_server.py: enhance to exercise DYHB=OVERDUE state. Split existing
mutable+immutable tests into two pieces for clarity. Reenabled several tests.
Deleted the now-obsolete "test_failover_during_stage_4".
src/allmydata/immutable/downloader/finder.py
src/allmydata/test/test_hung_server.py