You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upload the recomputed immutable archives to IPFS instead of keeping the previous ones #3713
The IPFS uploader of the aggregator skips any archive whose file name already exists in the MFS directory, so the immutable archives recomputed in the deterministic format (e.g. after clearing the immutable archives cache) are never uploaded to IPFS and the published directory keeps the previous non deterministic archives and their CIDs.
What
Discard remote file in the MFS of the Kubo node when an immutable compressed archive has been created.
How
When a new immutable compressed archive is created, the associated file name is removed from the MFS directory (and unpinned):
Add a new discard_remote_archive function to the ImmutableFilesUploader trait:
With a blanket implementation that does nothing
With an implementation only for the IpfsFileUploader that removes entry from MFS and unpin the file
Check that the recommended configuration of the Kubo node associated to an aggregator has some GC activated
Update the migrate-immutables-archives runbook (in particular add manual commands for ipfs files rm and ipfs pin rm)
Rehearse the reset of the immutable compressed archives on dev-mainnet
Activity