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: only restore system tables included in backup #55719

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

pbardea
Copy link
Contributor

@pbardea pbardea commented Oct 20, 2020

Backport 2/2 commits from #55685.

/cc @cockroachdb/release


Before this commit, we would assume that all of the system tables that
we wanted to restore were present in the backup. However, this is not
necessarily true since system tables can be added between releases.

Release note (bug fix): Previously cluster backups taken from before
20.2 could not be restored in 20.2 clusters, with an error message about
failing to restore a system table. This is now fixed.

Including the cluster version in cluster restore might decrease the
cluster version. We have seen this cause issues where DROP DATABASES
stop working.

Release note: None
Before this commit, we would assume that all of the system tables that
we wanted to restore were present in the backup. However, this is not
necessarily true since system tables can be added between releases.

Release note (bug fix): Previously cluster backups taken from before
20.2 could not be restored in 20.2 clusters, with an error message about
failing to restore a system table. This is now fixed.
@pbardea pbardea requested review from dt and a team October 20, 2020 00:02
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea
Copy link
Contributor Author

pbardea commented Oct 20, 2020

Looks like the first CI run flaked on #55718, re-running.

@pbardea pbardea merged commit 314007f into cockroachdb:release-20.2 Oct 20, 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.

3 participants