Opened at 2008-01-31T02:26:36Z
Last modified at 2015-08-16T15:17:29Z
#296 new defect
enforce timeout on DYHB queries?
Reported by: | warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | eventually |
Component: | code-network | Version: | 0.7.0 |
Keywords: | upload-helper performance hang | Cc: | |
Launchpad Bug: |
Description (last modified by zooko)
When a file is uploaded via the helper, the first thing the helper does is to ask all the storage servers if they already have the shares. If one of those servers has recently been silently lost (a laptop that was suspended, or a network connection that's been severed), the query can take up to 15 minutes to time out.
It might be nice to accelerate this process by establishing an upper bound on the amount of time that we'll wait for a response, perhaps 10-15 seconds. We could use similar measures on share transmission, specifically download (since we have plenty of peers to choose from).
Change History (3)
comment:1 Changed at 2009-12-04T05:11:17Z by davidsarah
- Component changed from code-performance to code-network
- Keywords helper performance added
comment:2 Changed at 2009-12-29T19:11:44Z by davidsarah
- Keywords hang added
comment:3 Changed at 2015-08-16T15:17:29Z by zooko
- Description modified (diff)
- Keywords upload-helper added; helper removed