filecoin-project / filecoin-project/lassie

`Retrieval failure from indexer: context canceled` when successful but _fast_

Open
#402 0 comments 0 reactions 1 assignee Claimed by @rvagg View on GitHub
Dominant language
Go
Stars
118
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Testing out some http failures from web3.storage that now seem to be passing, I'm guessing related to https://github.com/web3-storage/freeway/issues/87 where the content hasn't quite been pushed out to the caching layer. But this is interesting behaviour from lassie:

```
go run ./cmd/lassie/ fetch -p --protocols http bafybeihmqcb3kjyib3jed5cudpvfyf7ydquh4rjykma34qxnmj6von66d4/6762.png
... [gobs of indexer candidates, repeating only 2 peer IDs many many times, one for bitswap and one for http (w3s)]
Received 9 blocks / 1.4 MiB...
Fetched [bafybeihmqcb3kjyib3jed5cudpvfyf7ydquh4rjykma34qxnmj6von66d4] from [QmUA9D3H7HeCYsirB3KmPSvZh3dNXMZas6Lwgr4fv1HTTp]:
Duration: 560.943093ms
Blocks: 9
Bytes: 1.4 MiB
Retrieval failure from indexer: context canceled
```

This happened after running it a couple of times, note how fast the download is, so this is super speedy now it's cached in CF from web3.storage, and I think lassie trips over itself and we get a context cancellation in the indexer streaming results that we count as an actual failure. But we got the data we wanted, and it validated, so should be an overall success.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.