Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kv: enforce minimum value for kv.range_descriptor_cache.size #101129

Merged
merged 1 commit into from Apr 10, 2023

Conversation

nvanbenschoten
Copy link
Member

Closes #101011.

This commit adds a minimum value for the kv.range_descriptor_cache.size cluster setting. The minimum value is set to 64, which avoid a cache that is too small to be useful and could thrash.

Release note: None

Closes cockroachdb#101011.

This commit adds a minimum value for the kv.range_descriptor_cache.size
cluster setting. The minimum value is set to 64, which avoid a cache
that is too small to be useful and could thrash.

Release note: None
@nvanbenschoten nvanbenschoten requested a review from knz April 10, 2023 17:11
@nvanbenschoten nvanbenschoten requested a review from a team as a code owner April 10, 2023 17:11
@blathers-crl
Copy link

blathers-crl bot commented Apr 10, 2023

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.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@nvanbenschoten
Copy link
Member Author

bors r=knz

@craig
Copy link
Contributor

craig bot commented Apr 10, 2023

Build succeeded:

@craig craig bot merged commit b7702e1 into cockroachdb:master Apr 10, 2023
7 checks passed
@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/fix101011 branch April 12, 2023 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kvcoord: setting kv.range_descriptor_cache.size=0 results in range iterator to retry endlessly
3 participants