filecoin-project / filecoin-project/boost

Remove deals from the index if they fail to seal on time or are slashed

Open
#940 4 comments 0 reactions 0 assignees View on GitHub
area/indexing area/retrieval kind/bug
Dominant language
Go
Stars
121
Forks
79
PR merge metrics
PR metrics pending

Description

SP reported seeing this error when retrieving:
ERROR retrieval impl/provider.go:379 Retrieval query: GetAsk: GetRetrievalPricingInput: failed to fetch storage deal state: 1 error occurred:
* deal 8835657 not found - deal may not have completed sealing before deal proposal start epoch, or deal may have been slashed

From Dirk:
The reason for the GetRetrievalPricingInput: failed to fetch error is because
the client attempts to retrieve deal 8835657
in order to work out the price of the deal, boost queries the chain for the deal's Piece Size and Verified Deal status
the deal is not on chain (presumably because it was not sealed in time)

TODO:
To fix this we should add code to boost that will remove deals from the index if they fail to seal on time or are slashed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.