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
sql: skip dropped constraints in introspection queries
Dropped constraints remain in table descriptors until the schema change
job fully completes. During this time, introspection queries (such as
crdb_internal.create_statements) may encounter these constraints, even
if they reference columns that are also in the process of being dropped.
This can result in errors.
This change updates the introspection logic to ignore constraints that
are marked for deletion, preventing such failures.
Informs #147514
Epic: None
Release note (bug fix): Fixed a bug where introspection queries could
fail if a dropped constraint referenced a column that was also being
dropped.
0 commit comments