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

kvflowcontrol: re-enable kvadmission.flow_control.mode metamorphism #133854

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Oct 30, 2024

The cluster setting kvadmission.flow_control.mode is used to control whether replication admission control applies to only elastic work, or applies to all work which sets an admission priority.

The cluster setting was prior to #132125, metamorphic in tests, selecting either value with equal probability. #132125 disabled the metamorphism in order to prevent the newly introduced send queue / pull mode from being run unexpectedly, while still under testing.

With testing now in place, re-enable the metamorphism, leaving the default value unchanged.

Resolves: #132364
Release note: None

Copy link

blathers-crl bot commented Oct 30, 2024

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

@kvoli kvoli self-assigned this Oct 30, 2024
@kvoli kvoli force-pushed the 241030.rac2-enable-metamorphic-pull-mode branch 2 times, most recently from 935d98d to 9d3a771 Compare October 30, 2024 19:45
The cluster setting `kvadmission.flow_control.mode` is used to control
whether replication admission control applies to only elastic work, or
applies to all work which sets an admission priority.

The cluster setting was prior to cockroachdb#132125, metamorphic in tests,
selecting either value with equal probability. cockroachdb#132125 disabled the
metamorphism in order to prevent the newly introduced send queue / pull
mode from being run unexpectedly, while still under testing.

With testing now in place, re-enable the metamorphism, leaving the
default value unchanged.

Resolves: cockroachdb#132364
Release note: None
@kvoli kvoli force-pushed the 241030.rac2-enable-metamorphic-pull-mode branch from 9d3a771 to ce176ab Compare October 30, 2024 20:26
@kvoli
Copy link
Collaborator Author

kvoli commented Oct 30, 2024

Not unexpectedly, some tests are failing. I suspect these tests exhaust tokens and delay admission. We should confirm whats happening.

@kvoli
Copy link
Collaborator Author

kvoli commented Dec 18, 2024

Closing in favor of merging both at the same time, the metamorphism change and the apply_to_all default value:

@kvoli kvoli closed this Dec 18, 2024
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.

kvflowcontrol: re-enable kvadmission.flow_control.mode metamorphic testing constant
3 participants