swarm icon indicating copy to clipboard operation
swarm copied to clipboard

Fetcher improvements

Open janos opened this issue 5 years ago • 2 comments

Fetchers are using singleflight to deduplicate retrieval of the same chunk. The consequence is that a relation between chunk requests is made, terminating later chunk requests sooner than the timeout is specified as the first requests that times out terminates all other.

Implement peers to skip on fetcher.

Remove LNetStore by getting the peer from the passed context value. Remove origin peer by providing it in peers to skip.

Re-request chunk if requested peer disconnects.

janos avatar Dec 11 '19 14:12 janos

Add retry after sync failure.

what does this mean?

acud avatar Jan 20 '20 08:01 acud

Yes, syncing is not relevant here, removed, thanks.

janos avatar Jan 20 '20 10:01 janos