-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Repo GC doesn't works with badger. #7793
Comments
This may be related to ipfs/go-ds-badger#54 which should be fixed in master (and in the upcoming release). @Stebalien any thoughts on if these two issues are the same or if it's something else? |
I believe this is "poor command docs". If someone downloaded material through your gateway or the |
I'm gonna try with latest master and let you know, if it works I'll close 👀
I know thx :), it's not that bad.
My content was downloaded using the http gateway and |
> If someone downloaded material through your gateway or the `ipfs get` command, the `ipfs repo gc` command should delete them.
My content was downloaded using the http gateway and `ipfs get`, I can confirm that with `v0.7.0` that doesn't works.
Are you sure the contents weren't pinned somehow and how did you determine that the blocks weren't deleted?
|
They are not pinned, 100%. |
Version information:
Description:
First create badger ds ipfs node.
Then add some file to the store (don't pin them or unpin them before continuation).
Run :
Nothing happends (or sometime very few blocks actualy gets deleted (<0.01%)).
Might be a duplicate of #4300 but #4300 says that this should be fixed.
PS: I'm not talking about reclaiming disk space, I really just want to remove all blocks that are not pinned (someone downloaded some copyrighted contents with my node and I want to get it out without having to rm the store).
The text was updated successfully, but these errors were encountered: