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
ccl/cdc: change when drop column is detected in schema feed
Previously, before automatic schema_locked toggle was added in the
declarative schema changer, we had a guarantee that schema_locked would
be unset before any column mutations are added. Unfortunately, the
automatic toggle logic will disable schema_locked at the same time as
the column is removed. This doesn't play nice with the existing schema
feed logic. To address this, this patch detects the mutation once the
new primary index is backfilled, so that is separate from the
schema_locked being disabled. This is still valid behavior because the
schema change is still in flight at this point, and doesn't have a
usable new primary index.
Informs: #150003
Release note (bug fix): Addressed a bug on schema_locked tables when a
column is dropped, and schema_locked is toggled for the user.
0 commit comments