Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to clean the blockstore after removing piece from piece manager #1

Open
wcgcyx opened this issue Jun 16, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@wcgcyx
Copy link
Owner

wcgcyx commented Jun 16, 2022

Currently, when removing a piece from the piece manager, the actual block data isn't removed. It would be nice to have a function to clean the block store.
Potential way:
Traverse through the block store, remove a block if it does not have a parent node and is also not part of the piece store.

@wcgcyx wcgcyx added the enhancement New feature or request label Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant