Skip to content

clusterversion,kv: remove old cluster versions corresponding to 20.2 and 21.1#69728

Merged
craig[bot] merged 7 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/removeOldClusterSettings
Sep 2, 2021
Merged

clusterversion,kv: remove old cluster versions corresponding to 20.2 and 21.1#69728
craig[bot] merged 7 commits intocockroachdb:masterfrom
nvb:nvanbenschoten/removeOldClusterSettings

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Sep 2, 2021

Fixes most of #66544.

This pull request removes (almost) all old cluster versions corresponding to 20.2 and 21.1 which fall under the KV group's responsibility.

The PR leaves one remaining "combo version" of TruncatedAndRangeAppliedStateMigration plus PostTruncatedAndRangeAppliedStateMigration, which we'll want to remove before closing #66544. I've left this for @irfansharif both because its removal is a little more involved than the others and because I figured that he deserves to reap the fruit of his labor and get to delete the code related to the replicated truncated state and missing RangeAppliedStateKeys. Making that possible was a hard-earned win.

Release justification: cluster version cleanup

nvb added 2 commits September 1, 2021 23:39
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
@nvb nvb requested a review from tbg September 2, 2021 04:11
@nvb nvb requested a review from a team as a code owner September 2, 2021 04:11
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

nvb added 5 commits September 2, 2021 01:56
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
Partially addresses cockroachdb#66544 by removing a cluster version and its associated
dependencies which, for any cluster whose version is at least 21.1, is certain
to be active.

Release justification: cluster version cleanup
@nvb nvb force-pushed the nvanbenschoten/removeOldClusterSettings branch from 675257a to ef4710c Compare September 2, 2021 05:58
Copy link
Copy Markdown
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

Reviewed 4 of 4 files at r1, 5 of 5 files at r2, 9 of 9 files at r3, 3 of 3 files at r4, 2 of 2 files at r5, 7 of 7 files at r6, 4 of 4 files at r7, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @nvanbenschoten)

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Sep 2, 2021

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 2, 2021

Build failed (retrying...):

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 2, 2021

Build succeeded:

@craig craig bot merged commit 2a33514 into cockroachdb:master Sep 2, 2021
@nvb nvb deleted the nvanbenschoten/removeOldClusterSettings branch September 7, 2021 16:35
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