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: remove duplicated key kind constants #104753

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Jun 12, 2023

This commit performs a small refactor of the batch reading interface exposed by the storage package. It removes 'Pebble' from a few names, removes the duplicated key kinds (Pebble exports these now), and adds assertions to ensure new key kinds trigger compilation failures. This motivated by #104539, in which I never even considered the batch reader or how it might need to change.

Epic: none
Release note: None

This commit performs a small refactor of the batch reading interface exposed by
the storage package. It removes 'Pebble' from a few names, removes the
duplicated key kinds (Pebble exports these now), and adds assertions to ensure
new key kinds trigger compilation failures. This motivated by cockroachdb#104539, in which
I never even considered the batch reader or how it might need to change.

Epic: none
Release note: None
@jbowens jbowens requested review from a team as code owners June 12, 2023 22:11
@jbowens jbowens requested a review from itsbilal June 12, 2023 22:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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 @itsbilal)

@jbowens
Copy link
Collaborator Author

jbowens commented Jun 13, 2023

TFTR!

bors r+ single on

@craig
Copy link
Contributor

craig bot commented Jun 13, 2023

Build succeeded:

@craig craig bot merged commit c1a71cf into cockroachdb:master Jun 13, 2023
@jbowens jbowens deleted the batch-reader branch June 13, 2023 14:55
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.

3 participants