application-research / estuary

A custom IPFS/Filecoin node that makes it easy to pin IPFS content and make Filecoin deals.
https://docs.estuary.tech
Other
239 stars 66 forks source link

Split content fail column to pin_fail and storage_fail columns #335

Open en0ma opened 2 years ago

en0ma commented 2 years ago

Add pin_failed and storage_failed columns to the contents table, to mark content IPFS pinning failure and content Filecoin deal-making failure, so we stop retrying(pinning or making deals) for such contents. This will help reduce error logs spams and stressing miners.

E.g;

Also, given network fluctuations (bitswap), pinning can fail intermittently, we should have a pinning_retry count column before marking pin_failed.

snissn commented 2 years ago

makes sense! I have a little back log then we can connect on this, maybe you can onboard me to completing the ticket next week