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
ttl: allow outbound foreign keys on TTL tables #101236
Conversation
Removes a text column a few subtests have that is not part of the actual tests. Release note: None
The row_level_ttl logic test is now broken down into subtests to more easily isolate failures. Release note: None
Fixes #101225 This change allows TTL tables to have outbound foreign keys. Outbound foreign keys are unaffected by rows being deleted from the TTL table itself. Release note (sql change): Allow outbound foreign keys on TTL tables.
desc.GetName(), | ||
)) | ||
} | ||
if desc.HasRowLevelTTL() && len(desc.InboundForeignKeys()) > 0 { |
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.
any reason not to support all the cases if we're not doing strict filtering?
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 will handle it in a followup PR.
There is an issue with job SessionData not respecting optDrivenFKCascadesClusterLimit
that I have to resolve #101265.
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.
probably want rafi to double check
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.
nice!
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @otan)
bors r=otan,rafiss |
Build succeeded: |
Fixes #101225
This change allows TTL tables to have outbound foreign keys. Outbound foreign
keys are unaffected by rows being deleted from the TTL table itself.
Release note (sql change): Allow outbound foreign keys on TTL tables.