Closed achingbrain closed 2 years ago
How easy is it to add a regression test?
I'm removing an optimisation that doesn't appear to have had a specific test for it - I should really be deleting a test here..
The optimisation is now retained but we use a LRU cache instead of an unbounded Set.
:tada: This PR is included in version ipfs-repo-migrations-v13.0.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This PR is included in version ipfs-repo-v15.0.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Storing a set of seen CIDs to short-cut DAG traversal while ensuring we have all the blocks in a DAG in the blockstore can cause OOMs for very large DAGs so replace the unbounded
Set
with aLRU
cache with a configurable maximum size.