You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
145972: catalog/replication: fix validation errors when updating catalog r=fqazi a=fqazi
Previously, updating PCR reader catalog descriptors involved processing and flushing one at a time. This worked unless a subsequent descriptor depended on the current one. However, it could fail when, for example, removing a column dependency (i.e., ALTER COLUMN .. SET DEFAULT NULL). To address this, this patch first generates the mutated descriptors and then flushes them into the collections.
Fixes: #145971
Release note (bug fix): addressed a bug where the PCR reader catalog job could hit validation errors, when schema object dependencies between them (for example a sequence default expression was being removed).
Co-authored-by: Faizan Qazi <[email protected]>
0 commit comments