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: do not re-create schema change jobs in cluster restore #56390

Merged
merged 2 commits into from Nov 9, 2020

Conversation

pbardea
Copy link
Contributor

@pbardea pbardea commented Nov 6, 2020

Backport 2/2 commits from #55973.

/cc @cockroachdb/release


This commit fixes a bug where schema change jobs that were in progress
during a cluster backup would be re-created twice during a cluster
restore.

Release note (bug fix): Previously if a cluster backup that was taken
during a schema change, a cluster restore of that backup would create
duplicates of the ongoing schema changes.

This commit fixes a bug where schema change jobs that were in progress
during a cluster backup would be re-created twice during a cluster
restore.

Release note (bug fix): Previously if a cluster backup that was taken
during a schema change, a cluster restore of that backup would create
duplicates of the ongoing schema changes.
This commit expands the mid schema change restore tests to test both
table and cluster restore of backups that had ongoing schema changes.

This commit also adds test cases for when a schema change has not
performed the backfill. This is in addition to the existing cases where
the backfill has already been performed.

Release note: None
@pbardea pbardea requested review from miretskiy and a team November 6, 2020 21:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea pbardea merged commit 3b3bae8 into cockroachdb:release-20.2 Nov 9, 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