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;
If we could not fetch blocks for pinning - pin_failed (UI should not show it, or show it and indicate an error).
If Graphsync or boost has irrecoverable error (commp, missing block etc) - storage_failed, (UI should not show it, or show it and indicate an error)
Also, given network fluctuations (bitswap), pinning can fail intermittently, we should have a pinning_retry count column before marking pin_failed.
Add
pin_failed
andstorage_failed
columns to thecontents
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;
pin_failed
(UI should not show it, or show it and indicate an error).storage_failed
, (UI should not show it, or show it and indicate an error)Also, given network fluctuations (bitswap), pinning can fail intermittently, we should have a
pinning_retry
count column before markingpin_failed
.