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

Garbage Collection enhancements (prevent GC from locking repo) #6114

Open
obo20 opened this issue Mar 21, 2019 · 0 comments
Open

Garbage Collection enhancements (prevent GC from locking repo) #6114

obo20 opened this issue Mar 21, 2019 · 0 comments

Comments

@obo20
Copy link

obo20 commented Mar 21, 2019

Version information:

v0.4.19

Type:

enhancement

Description:

Currently running a garbage collection prevents the node from running operations like ipfs add while the garbage collection is running. In production environments this could become quite problematic as repos scale in size and garbage collection takes longer.

From conversations with @Stebalien, this is something that could possibly be improved by implementing local reference counts which should make GC trivial. But implementing that correctly is non-trivial (and may require an actual database).

If something like a database is implemented, it could also be utilized for metadata capabilities that have been requested for various different features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant