ipfs / ipfs/kubo

Repo Size Constraints

Open
#972 4 comments 0 reactions 0 assignees View on GitHub
topic/repo
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

It is a common problem already that the space of go-ipfs grows unbounded. We want to have the ability to limit the growth.

---

Complicating factors:
- pinned vs unpinned objects
- capacity should be configurable
- capacity should incorporate all repo contents
- adding (pinning) content beyond capacity

---

I've been thinking of a setup with two thresholds:
- gc threshold: if after this limit, all commands trigger a `repo gc`.
- local storage capacity: if adding an object to repo would increase capacity, command errors. (i.e. never exceed capacity)

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.