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: fix bug due to transaction restart while publishing descri… #54965

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

ajwerner
Copy link
Contributor

Backport 1/1 commits from #54748.

/cc @cockroachdb/release


…ptors

Before this patch, if a restart occurred while trying to publish descriptors,
we would short-circuit publishing the descriptors on the subsequent attempt.

The approach was validated by stressing TestBackupRestoreResume with the
patch in #54695 which previously
reproduced the failure immediately.

Release note (bug fix): Fixed a bug whereby a transaction restart at the
wrong moment during a restore could leave descriptors offline after the
restore completed successfully.

…ptors

Before this patch, if a restart occurred while trying to publish descriptors,
we would short-circuit publishing the descriptors on the subsequent attempt.

The approach was validated by stressing `TestBackupRestoreResume` with the
patch in cockroachdb#54695 which previously
reproduced the failure immediately.

Release note (bug fix): Fixed a bug whereby a transaction restart at the
wrong moment during a restore could leave descriptors offline after the
restore completed successfully.
@ajwerner ajwerner requested review from pbardea and a team September 29, 2020 18:34
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner ajwerner merged commit 9de6a50 into cockroachdb:release-20.2 Sep 29, 2020
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.

None yet

3 participants