ipfs / ipfs/kubo

Handle the case where GC is disabled but a repo limit is configured

Open
#5,140 7 comments 1 reaction 0 assignees View on GitHub
kind/feature topic/repo
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

When a repo size limit is configured but gc is disabled (i.e., no `--enable-gc` flag has been passed), we should either (or both?):

1. Warn on start.
2. Refuse to write to the datastore once the size has been exceeded.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the daemon startup handling for the repo size limit and the --enable-gc flag, then follow the datastore write path. Determine whether the intended behavior is a startup warning, refusing writes after the limit is exceeded, or both, and add coverage for the selected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.