opt: panic on insert when a column is being dropped and a check constraint is present #35611
Labels
A-schema-changes
A-sql-execution
Relating to SQL execution.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
S-2-temp-unavailability
Temp crashes or other availability problems. Can be worked around or resolved by restarting.
Starting with this table:
If I drop column
a
withALTER TABLE t.test DROP COLUMN a
, and try to insert values for(k, v)
whilea
is in the delete-only state, I get this panic:I don't think there's any way to reproduce reliably in a sql console, but here's a schema changer test that reproduces the problem, by issuing the
DROP COLUMN
in a separate goroutine, and waiting to insert the row until the backfill to drop the column begins: master...lucy-zhang:drop-column-panicBisecting turned up be12e8f as the first commit where this happens.
The text was updated successfully, but these errors were encountered: