-
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: test ignore ProtectionPolicy for exclude_data_from_backup #77406
Conversation
// TestExcludeDataFromBackupDoesNotHoldupGC tests that a table marked as | ||
// `exclude_data_from_backup` and with a protected timestamp record covering it | ||
// does not holdup GC, since its data is not going to be backed up. | ||
func TestExcludeDataFromBackupDoesNotHoldupGC(t *testing.T) { |
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.
I solemnly swear to datadriven-ify these tests as part of #77129, but to derisk this change I wanted to postpone building out our backup datadriven framework. I have ideas on how to wrap all these GC/SpanConfig operations that I'll work on as part of our test revamp.
d7a01a4
to
5fb8960
Compare
This change adds an end to end test to ensure that a table excluded from backup will not holdup GC on its replica even in the presence of a protected timestamp record covering the replica From a users point of view, this allows them to mark a table whose row data will be excluded from backup, and to set that tables gc.ttl to a very low value. Backups that write PTS records will no longer holdup GC on such low GC TTL tables. Fixes: cockroachdb#73536 Release note: None Release justification: low risk update to new functionality
5fb8960
to
3470def
Compare
@irfansharif removing this from your review queue since this has become a test only change after #77392. This is RFAL now that that has merged! |
1 similar comment
@irfansharif removing this from your review queue since this has become a test only change after #77392. This is RFAL now that that has merged! |
friendly ping @dt |
CI failure is TestDockerCLI TFTR! |
Build failed (retrying...): |
Build succeeded: |
This change adds an end to end test to ensure that a table excluded
from backup will not holdup GC on its replica even in the presence
of a protected timestamp record covering the replica
From a users point of view, this allows them to mark a table whose
row data will be excluded from backup, and to set that tables gc.ttl
to a very low value. Backups that write PTS records will no longer
holdup GC on such low GC TTL tables.
Fixes: #73536
Release note: None
Release justification: low risk update to new functionality