Skip to content

storage: fix BenchmarkMVCCExportToSST#97684

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nicktrav:nickt.mvcc-bench-range-keys
Feb 26, 2023
Merged

storage: fix BenchmarkMVCCExportToSST#97684
craig[bot] merged 1 commit intocockroachdb:masterfrom
nicktrav:nickt.mvcc-bench-range-keys

Conversation

@nicktrav
Copy link
Copy Markdown
Collaborator

Fix BenchmarkMVCCExportToSST to assert that the total number of range key spans within all range keys stacks is greater than or equal to the number of range keys added.

Fix #96209.

Release note: None.

Epic: CRDB-20465.

Fix `BenchmarkMVCCExportToSST` to assert that the total number of range
key spans within all range keys stacks is greater than or equal to the
number of range keys added.

Fix cockroachdb#96209.

Release note: None.
@nicktrav nicktrav requested a review from a team as a code owner February 25, 2023 23:35
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@nicktrav
Copy link
Copy Markdown
Collaborator Author

$ ./dev bench pkg/storage -f=BenchmarkMVCCExportToSST --ignore-cache --bench-time=1x --timeout 10m --test-args="-test.failfast"
$ bazel test --test_timeout=605 --test_arg -test.timeout=10m0s pkg/storage:all --nocache_test_results --test_arg -test.run=- --test_arg -test.bench=BenchmarkMVCCExportToSST --test_sharding_strategy=disabled --test_arg -test.benchtime=1x --crdb_test_off --test_arg -test.outputdir=/home/nickt/Development/go/src/github.com/cockroachdb/cockroach --sandbox_writable_path=/home/nickt/Development/go/src/github.com/cockroachdb/cockroach --test_arg -test.failfast --test_output errors
INFO: Invocation ID: 3187dfe3-0eb7-43f6-a55c-5baa32837d8d
INFO: Analyzed 3 targets (0 packages loaded, 0 targets configured).
INFO: Found 2 targets and 1 test target...
INFO: Elapsed time: 234.404s, Critical Path: 234.11s
INFO: 2 processes: 1 internal, 1 linux-sandbox.
INFO: Build completed successfully, 2 total actions
//pkg/storage:storage_test                                               PASSED in 234.1s

INFO: Build completed successfully, 2 total actions

Copy link
Copy Markdown
Contributor

@erikgrinaker erikgrinaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@nicktrav
Copy link
Copy Markdown
Collaborator Author

TFTR!

bors r=erikgrinaker

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Feb 26, 2023

Build succeeded:

@craig craig bot merged commit 1b05269 into cockroachdb:master Feb 26, 2023
@nicktrav nicktrav deleted the nickt.mvcc-bench-range-keys branch February 26, 2023 16:17
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.

storage: BenchmarkMVCCExportToSST fails on numRangeKeys

3 participants