-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
backupccl, restoreccl: include system.privileges in full cluster restore #86830
backupccl, restoreccl: include system.privileges in full cluster restore #86830
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few other tests to update:
- TestClusterRestoreFailCleanup has a some lists of tables that should transition to a DROP state on revert. We need to add this new table to that list:
[][]string{ |
https://github.com/cockroachdb/cockroach/blob/master/pkg/ccl/backupccl/full_cluster_backup_restore_test.go#L732
If you are feeling generous, you could also add it to:
@@ -538,7 +538,7 @@ var systemTableBackupConfiguration = map[string]systemBackupConfiguration{ | |||
expectMissingInSystemTenant: true, | |||
}, | |||
systemschema.SystemPrivilegeTable.GetName(): { | |||
shouldIncludeInClusterBackup: optOutOfClusterBackup, | |||
shouldIncludeInClusterBackup: optInToClusterBackup, // No desc ID columns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Double checked that it looks like the format for the path
element in the table also doesn't use any IDs that need rewritting.
Release justification: Minor enhancement to not yet released feature Release note: None
1b8d983
to
2d485fb
Compare
CI failure is flake bors r=stevendanna |
👎 Rejected by too few approved reviews |
Nvm need github approval @stevendanna |
bors r=stevendanna |
Build succeeded: |
Release justification: Minor enhancement to not yet released feature
Release note: None
Fixes #84762