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

release-20.2: backupccl: cluster restore import and restore jobs as canceled #63765

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

pbardea
Copy link
Contributor

@pbardea pbardea commented Apr 15, 2021

IMPORT and RESTORE may write non-transactionally, so their writes cannot
be trusted to be included in every backup. As such, they should be
restored in a reverting state to attempt to undo any of their untrusted
writes.

Release note (bug fix): IMPORT and RESTORE jobs are now restored as
reverting so that they cleanup after themselves. Previously, some of the
writes of the jobs while they were running may have been missed by
backup.

@pbardea pbardea requested review from dt and a team April 15, 2021 22:01
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea pbardea force-pushed the manual-backport-jobs branch 2 times, most recently from 6c195e1 to 68def5b Compare April 16, 2021 02:20
@pbardea pbardea changed the title release-20.2: backupccl: cluster restore import and restore jobs as reverting release-20.2: backupccl: cluster restore import and restore jobs as canceled Apr 16, 2021
IMPORT and RESTORE may write non-transactionally, so their writes cannot
be trusted to be included in every backup. As such, they should be
restored in a reverting state to attempt to undo any of their untrusted
writes.

Release note (bug fix): IMPORT and RESTORE jobs are now restored as
reverting so that they cleanup after themselves. Previously, some of the
writes of the jobs while they were running may have been missed by
backup.
@pbardea pbardea force-pushed the manual-backport-jobs branch from 68def5b to b3151e7 Compare April 16, 2021 19:36
@pbardea pbardea requested a review from ajwerner April 16, 2021 19:36
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.

:lgtm:

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

@pbardea
Copy link
Contributor Author

pbardea commented Apr 19, 2021

Thanks for the review!

@pbardea pbardea merged commit dfe5778 into cockroachdb:release-20.2 Apr 19, 2021
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