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

Ipfs gc problem #6783

Closed
xjxqsl opened this issue Dec 5, 2019 · 2 comments
Closed

Ipfs gc problem #6783

xjxqsl opened this issue Dec 5, 2019 · 2 comments
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/duplicate This issue or pull request already exists

Comments

@xjxqsl
Copy link

xjxqsl commented Dec 5, 2019

Two ipfs nodes: when one ipfs node uploads the file, the other one downloads the file. When the node of the upload node is gc, the node file of the download end cannot be downloaded. Can you perform gc according to the time cycle of the data,Delete garbage files based on time

@dirkmc
Copy link
Contributor

dirkmc commented Dec 5, 2019

To run garbage collection manually:
ipfs repo gc
This will garbage collect any unpinned files.

To pin a file run ipfs pin add <hash>

@Stebalien Stebalien added status/duplicate This issue or pull request already exists kind/enhancement A net-new feature or improvement to an existing feature labels Dec 5, 2019
@Stebalien
Copy link
Member

Ah, I think you're asking for garbage collection of infrequently used/old data?

This is a long-time wish-list item: #5515. For now, most users just disable GC and keep everything.

(closing as a duplicate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants