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

Revert "kv,migration: rm code handling legacy raft truncated state" #70432

Merged

Conversation

irfansharif
Copy link
Contributor

This reverts commit 6464de2. That PR
broke few of our roachtests since we haven't release the 21.2 beta yet.
For our roachtests that exercised the upgrade path, we were effectively
upgrading from 21.1 to 22.1 code (as of that PR) that asserted on the
completion of the long running migration removing the legacy raft
truncated state -- something that would only happen when going through
21.2. Given that, we temporarily revert #69887 while our beta gets
prepared. #69887 (or rather, the revert of this commit) will be
re-introduced to master once #69826 lands.

Fixes #70244.
Fixes #70252.
Fixes #70253.
Fixes #70283.
Fixes #70350.
Fixes #70390.

Release note: None

@irfansharif irfansharif requested review from ajwerner and tbg September 20, 2021 15:49
@irfansharif irfansharif requested review from a team as code owners September 20, 2021 15:49
@irfansharif irfansharif requested a review from a team September 20, 2021 15:49
@irfansharif irfansharif requested a review from a team as a code owner September 20, 2021 15:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member

tbg commented Sep 20, 2021

LGTM

Clean revert? I didn't look much at the diff under that assumption. If anything required manual changes please let me know and I'll give those parts a closer look.

Also, looking forward to reverting the revert. :-)

@irfansharif
Copy link
Contributor Author

Yup, save for some code movements around cockroach_versions.go. Can I get a green stamp pls?

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Stamped on green assuming it's just mechanical.

This reverts commit 6464de2. That PR
broke few of our roachtests since we haven't release the 21.2 beta yet.
For our roachtests that exercised the upgrade path, we were effectively
upgrading from 21.1 to 22.1 code (as of that PR) that asserted on the
completion of the long running migration removing the legacy raft
truncated state -- something that would only happen when going through
21.2. Given that, we temporarily revert cockroachdb#69887 while our beta gets
prepared. cockroachdb#69887 (or rather, the revert of this commit) will be
re-introduced to master once cockroachdb#69826 lands.

Fixes cockroachdb#70244.
Fixes cockroachdb#70252.
Fixes cockroachdb#70253.
Fixes cockroachdb#70283.
Fixes cockroachdb#70350.
Fixes cockroachdb#70390.

Release note: None
@irfansharif irfansharif force-pushed the 210920.revert-applied-state-migration branch from 22cf7b8 to ef1dd6f Compare September 20, 2021 16:17
@irfansharif
Copy link
Contributor Author

Thanks! My stringer for the version keys hadn't gone through correctly -- will wait for green CI.

@irfansharif
Copy link
Contributor Author

Flaked on #69281.

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 20, 2021

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Sep 20, 2021

Build succeeded:

@craig craig bot merged commit bfdcfa0 into cockroachdb:master Sep 20, 2021
@irfansharif irfansharif deleted the 210920.revert-applied-state-migration branch September 21, 2021 01:08
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Sep 21, 2021
…ate"

This reverts commit ef1dd6f. cockroachdb#70432
reverted cockroachdb#69887, as temporary stop-gap until we release the first 21.2
beta. See the discussion over on cockroachdb#70432 for why we want to queue up this
revert to the original revert; this should only be merged after cockroachdb#69826
lands.

Release note: None
irfansharif added a commit to irfansharif/cockroach that referenced this pull request Oct 25, 2021
…ate"

This reverts commit ef1dd6f. cockroachdb#70432
reverted cockroachdb#69887, as temporary stop-gap until we release the first 21.2
beta. See the discussion over on cockroachdb#70432 for why we want to queue up this
revert to the original revert; this should only be merged after cockroachdb#69826
lands.

Release note: None
craig bot pushed a commit that referenced this pull request Oct 26, 2021
70464: Re-introduce "kv,migration: rm code handling legacy raft truncated st… r=irfansharif a=irfansharif

…ate"

This reverts commit ef1dd6f. #70432
reverted #69887, as temporary stop-gap until we release the first 21.2
beta. See the discussion over on #70432 for why we want to queue up this
revert to the original revert; this should only be merged after #69826
lands.

Release note: None

71962: backup: mark some settings public r=dt a=dt

This marks some of BACKUP's cluster settings as public as they are
intended for user-tuning to match their desired workload / requirements,
such as the delay before invoking priority reads or the target file size.

Release note (ops change): Some existing settings related to BACKUP execution are now listed  by SHOW CLUSTER SETTINGS.

Fixes #71786.

Co-authored-by: irfan sharif <[email protected]>
Co-authored-by: David Taylor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment