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

storage: use cluster version in benchmark data key #133489

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Oct 25, 2024

Incorporate the cluster version into the storage package's microbenchmark fixture data naming scheme. This avoids failures due to attempting to open a store at an unsupported cluster version.

Fix #133384.
Epic: none
Release note: none

Incorporate the cluster version into the storage package's microbenchmark
fixture data naming scheme. This avoids failures due to attempting to open a
store at an unsupported cluster version.

Fix cockroachdb#133384.
Epic: none
Release note: none
@jbowens jbowens requested a review from a team as a code owner October 25, 2024 20:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator Author

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @RaduBerinde)


pkg/storage/bench_data_test.go line 213 at r1 (raw file):

	key := []string{
		"mvcc",
		fmt.Sprintf("cv_%s", clusterversion.PreviousRelease.Version()),

@RaduBerinde — any reason you know of not to use clusterversion.Latest here?

Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @jbowens)


pkg/storage/bench_data_test.go line 213 at r1 (raw file):

Previously, jbowens (Jackson Owens) wrote…

@RaduBerinde — any reason you know of not to use clusterversion.Latest here?

Just that the name would change every time we add another gate

@jbowens jbowens added the backport-24.3.x Flags PRs that need to be backported to 24.3 label Oct 25, 2024
@jbowens
Copy link
Collaborator Author

jbowens commented Oct 25, 2024

TFTR!

bors r=RaduBerinde

@craig craig bot merged commit 7495c03 into cockroachdb:master Oct 26, 2024
22 of 23 checks passed
Copy link

blathers-crl bot commented Oct 26, 2024

Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.


Issue #133384: branch-release-24.3.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

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.

storage: microbenchmark cached data versioning
3 participants