Repository navigation
pull: Read max outstanding fetcher requests as uint32 - #3694
Merged
Merged
Conversation
cgwalters
approved these changes
Nov 13, 2026
There was a problem hiding this comment.
🟡 Changes recommended
An accepted zero fetcher-request limit prevents metadata scanning when static deltas are disabled, causing pulls to wait indefinitely unless zero is normalized or rejected.
1 open issue
What changed in this PR
This PR corrects how libostree reads the fetcher concurrency limit so values supplied by the CLI are honored instead of silently falling back to the default.
Changes:
- Read
max-outstanding-fetcher-requestsas a uint32 rather than a boolean in both pull and remote-summary fetching.
| File | Description |
|---|---|
src/libostree/ostree-repo-pull.c |
Corrects the option’s lookup type in both fetching paths. |
Review effort: Balanced
The max-outstanding-fetcher-requests option is documented and passed by the CLI as a uint32, but both pull and summary fetching looked it up as a boolean. As a result, the supplied value was ignored and the default was used instead. Look up the option as a uint32 in both paths so the requested limit reaches the fetcher.
liweidong1722
force-pushed
the
fix-pull
branch
from
November 16, 2026 01:17
1411760 to
f749974
Compare
cgwalters
approved these changes
Nov 16, 2026
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.

The max-outstanding-fetcher-requests option is documented and passed by the CLI as a uint32, but both pull and summary fetching looked it up as a boolean. As a result, the supplied value was ignored and the default was used instead.
Look up the option as a uint32 in both paths so the requested limit reaches the fetcher.