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

roachpb: remove RangeDescriptor.deprecated_generation_comparable #85118

Merged

Conversation

erikgrinaker
Copy link
Contributor

This patch removes the unused field deprecated_generation_comparable
from RangeDescriptor. The preparatory work for this was done in 20.2,
see a578719.

Release note: None

@erikgrinaker erikgrinaker requested a review from a team as a code owner July 27, 2022 10:50
@erikgrinaker erikgrinaker self-assigned this Jul 27, 2022
@cockroach-teamcity
Copy link
Member

This change is Reviewable

This patch removes the unused field `deprecated_generation_comparable`
from `RangeDescriptor`. The preparatory work for this was done in 20.2,
see a578719.

Release note: None
@erikgrinaker erikgrinaker force-pushed the remove-deprecated-generation-comparable branch from d2d66e1 to 4990c09 Compare July 27, 2022 10:50
Copy link
Collaborator

@pav-kv pav-kv left a comment

Choose a reason for hiding this comment

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

LGTM

pkg/roachpb/metadata.proto Show resolved Hide resolved
Copy link
Contributor

@andreimatei andreimatei 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 @erikgrinaker and @pavelkalinnikov)


pkg/roachpb/metadata.proto line 285 at r1 (raw file):

Previously, erikgrinaker (Erik Grinaker) wrote…

Nah, all of our reserved declarations use IDs only.

The field name can be reused. We don't store these protos as JSON or anything like that.

@erikgrinaker
Copy link
Contributor Author

TFTRs!

bors r=pavelkalinnikov,andreimatei

@craig
Copy link
Contributor

craig bot commented Jul 27, 2022

Build succeeded:

@craig craig bot merged commit 658bf2b into cockroachdb:master Jul 27, 2022
@erikgrinaker erikgrinaker deleted the remove-deprecated-generation-comparable branch August 1, 2022 15: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.

4 participants