Repository navigation
Keep server object reads working as Git packs accumulate - #258
Merged
Merged
Conversation
nishu-builder
added this pull request to stack #257
September 18, 2026 10:52
nishu-builder
removed this pull request from stack #257
September 18, 2026 10:53
nishu-builder
added this pull request to stack #261
September 18, 2026 10:53
Base automatically changed from
codex/publish-git-compat-20260917-911f8bae
to
main
September 18, 2026 19:52
nishu-builder
force-pushed
the
codex/git-pack-capacity-20260918-911f8bae
branch
from
September 18, 2026 19:52
0813f19 to
b20b5b7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CAOS keeps incoming uploads as Git packfiles. The server reads them through
gix, which fixes its pack capacity when it opens the store, starting at 32 for a small repository. With automatic repacking disabled, enough uploads can exhaust those slots even though the objects are still on disk.This PR reserves 32,767 slots, the maximum
gixsupports. The server warns near the limit and refuses to start when it is reached. We’ll still need to consolidate old packfiles before reaching that limit.Commit validation has a related problem: its temporary repository uses the server’s object store as a Git alternate. Writing the candidate commit after attaching that alternate can make
gixtry to load all the server’s packs into another small slot table. Write the candidate first, then attach the alternate for Git to validate it.