delta

Repair and Retry storage deals

Delta has built-in repair and retry functionality. This is useful for when a storage deal fails for some reason. The repair and retry functionality is built into the daemon and can be accessed thru HTTP API.

Definition of terms:

Manual Repair and Retry

Users can also manually repair and retry deals via HTTP API.

Retry a deal for an e2e content

curl --location --request GET 'http://localhost:1414/api/v1/retry/deal/end-to-end/:contentId' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/json' 

To retry an e2e deal

curl --location --request GET 'http://localhost:1414/api/v1/retry/deal/end-to-end/:contentId' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/json' 

To retry an import deal

curl --location --request GET 'http://localhost:1414/api/v1/retry/deal/import/:contentId' \
--header 'Authorization: Bearer [API_KEY]' \
--header 'Content-Type: application/json' 

Auto Retry

Users who wants to retry deals can set this up via metadata request.

The metadata parameter is a JSON object that can contain the following fields:

The status check API will return the list of deals that have been retried.