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

kvserver: clear rac2 token metrics prior to integration testing #132916

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Oct 18, 2024

TestFlowControl.*V2 tests assert on exact counters. This can be problematic if benign deltas occur while setting up the test, such a send queue forming when adding a new learner, but being quickly resolved.

Clear the token metrics prior to commencing these tests, in order to prevent flakes that result from such deltas in setup.

Fixes: #132642
Release note: None

@kvoli kvoli self-assigned this Oct 18, 2024
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli force-pushed the 241018.rac2-flow-control-raft-snap-deflake branch 2 times, most recently from f488847 to 2bf4435 Compare October 18, 2024 16:59
`TestFlowControl.*V2` tests assert on exact counters. This can be
problematic if benign deltas occur while setting up the test, such a
send queue forming when adding a new learner, but being quickly
resolved.

Clear the token metrics prior to commencing these tests, in order to
prevent flakes that result from such deltas in setup.

Fixes: cockroachdb#132642
Release note: None
@kvoli kvoli force-pushed the 241018.rac2-flow-control-raft-snap-deflake branch from 2bf4435 to 6815022 Compare October 18, 2024 17:12
@kvoli kvoli added the backport-24.3.x Flags PRs that need to be backported to 24.3 label Oct 18, 2024
@kvoli kvoli marked this pull request as ready for review October 18, 2024 17:38
@kvoli kvoli requested review from a team as code owners October 18, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-24.3.x Flags PRs that need to be backported to 24.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kv/kvserver: TestFlowControlRaftSnapshotV2 failed
2 participants