Skip to content

Conversation

@wenyihu6
Copy link
Contributor

@wenyihu6 wenyihu6 commented Sep 1, 2025

Previously, the maximum size of the replicate queue was made configurable via a
cluster setting, since replica item structs are small and enforcing the a max
size seemed unnecessary. This commit sets the default replicate queue size to
MaxInt64. This allows more baking time on the master since we plan to backport
the change and give customers the option to set it to MaxInt64. If this behavior
proves stable, MaxInt64 will become the default replicate queue size in future
releases as well.

Epic: none
Release note: none

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Previously, the maximum size of the replicate queue was made configurable via a
cluster setting, since replica item structs are small and enforcing the a max
size seemed unnecessary. This commit sets the default replicate queue size to
MaxInt64. This allows more backing time on the master since we plan to backport
the change and give customers the option to set it to MaxInt64. If this behavior
proves stable, MaxInt64 will become the default replicate queue size in future
releases as well.
@blathers-crl
Copy link

blathers-crl bot commented Sep 1, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@wenyihu6 wenyihu6 requested a review from tbg September 1, 2025 20:18
@wenyihu6 wenyihu6 marked this pull request as ready for review September 2, 2025 12:56
@wenyihu6 wenyihu6 requested a review from a team as a code owner September 2, 2025 12:56
@wenyihu6
Copy link
Contributor Author

wenyihu6 commented Sep 2, 2025

TFTR!

bors r=tbg

craig bot pushed a commit that referenced this pull request Sep 2, 2025
152825: kvserver: default ReplicateQueueMaxSize to math.MaxInt64 r=tbg a=wenyihu6

Previously, the maximum size of the replicate queue was made configurable via a
cluster setting, since replica item structs are small and enforcing the a max
size seemed unnecessary. This commit sets the default replicate queue size to
MaxInt64. This allows more baking time on the master since we plan to backport
the change and give customers the option to set it to MaxInt64. If this behavior
proves stable, MaxInt64 will become the default replicate queue size in future
releases as well.

Epic: none 
Release note: none 

Co-authored-by: wenyihu6 <[email protected]>
@wenyihu6
Copy link
Contributor Author

wenyihu6 commented Sep 3, 2025

bors retry

@craig
Copy link
Contributor

craig bot commented Sep 3, 2025

@craig craig bot merged commit 9a77ab6 into cockroachdb:master Sep 3, 2025
26 checks passed
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