Skip to content

kv: deflake BenchmarkMVCCGCWithForegroundTraffic#100661

Merged
craig[bot] merged 2 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/fix96266
Apr 7, 2023
Merged

kv: deflake BenchmarkMVCCGCWithForegroundTraffic#100661
craig[bot] merged 2 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/fix96266

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Apr 4, 2023

Fixes #96266.

The test became flaky after #89632, which made it possible for single-replica tests to see the effects of pre-application raft proposal acks. This was tripping up the MVCC GC in this benchmark, leading to request to GC non-deleted, latest value of "test" errors.

Release note: None

nvb added 2 commits April 4, 2023 18:14
The testContext-style tests do not have sufficient dependencies to
construct a SpanConfigSubscriber. To avoid a panic in subscribedToSpanConfigs
in these cases, we return false. This has the effect of disabling the
StoreRebalancer.

Release note: None
Fixes cockroachdb#96266.

The test became flaky after cockroachdb#89632, which made it possible for
single-replica tests to see the effects of pre-application raft
proposal acks. This was tripping up the MVCC GC in this benchmark,
leading to `request to GC non-deleted, latest value of "test"`
errors.

Release note: None
@nvb nvb requested a review from irfansharif April 4, 2023 22:26
@nvb nvb requested a review from a team as a code owner April 4, 2023 22:26
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Apr 7, 2023

TFTR!

bors r=irfansharif

@rickystewart
Copy link
Copy Markdown
Collaborator

bors r-

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 7, 2023

Canceled.

@rickystewart
Copy link
Copy Markdown
Collaborator

bors r=irfansharif

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Apr 7, 2023

Build succeeded:

@craig craig bot merged commit e21779b into cockroachdb:master Apr 7, 2023
@nvb nvb deleted the nvanbenschoten/fix96266 branch April 7, 2023 17:49
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.

kv/kvserver: BenchmarkMVCCGCWithForegroundTraffic fails with expected nil

4 participants