ipfs / ipfs/kubo

Garbage Collection enhancements (prevent GC from locking repo)

Open
#6,114 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.