Skip to content

Conversation

@the-mikedavis
Copy link
Collaborator

@the-mikedavis the-mikedavis commented Nov 4, 2025

Read-ahead can be controlled by a single option, with zero acting the same as false.

This is the companion change for rabbitmq/osiris#199 - see extra context there. This replaces the config option in #14888.

# prevent any read-ahead
stream.read_ahead = false
# tune read-ahead limit
stream.read_ahead = 8kiB

@the-mikedavis the-mikedavis self-assigned this Nov 4, 2025
@mergify mergify bot added the make label Nov 4, 2025
@michaelklishin
Copy link
Collaborator

@the-mikedavis rabbitmq/osiris#199 was merged and included into the 1.10.2 release.

Read-ahead can be controlled by a single option, with zero acting the
same as `false`.
@the-mikedavis the-mikedavis force-pushed the md/read-ahead-limit-merge branch from 37e418b to 76ce4ee Compare November 12, 2025 18:36
@the-mikedavis the-mikedavis marked this pull request as ready for review November 12, 2025 19:25
@michaelklishin michaelklishin added this to the 4.3.0 milestone Nov 12, 2025
@michaelklishin michaelklishin merged commit 25e31b5 into main Nov 12, 2025
292 checks passed
@michaelklishin michaelklishin deleted the md/read-ahead-limit-merge branch November 12, 2025 20:37
the-mikedavis added a commit that referenced this pull request Nov 13, 2025
Merge `stream.read_ahead` and `stream.read_ahead_limit` options (backport #14894)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants