Repo Size Constraints
Open
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
Assessment
This issue has not been assessed yet.