sql: meta-issue to describe remaining fk migration work for 19.2 #39504
Labels
A-sql-fks
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
meta-issue
Contains a list of several other issues.
Essential items that must be completed before 19.2
RESTORE
backupccl: add tests for restoring backups from previous versions #39772Known bugs that only occur in the 19.1/19.2 mixed-version state
DROP DATABASE CASCADE
with a view referencing a table that also has an inbound FK reference doesn't work:crdb_internal
logic tests where we create splits and then runSELECT ... FROM crdb_internal.ranges WHERE split_enforced_until IS NOT NULL
are failing for some unknown reason.Low-priority bugs
VALIDATE CONSTRAINT
hangs when running in the same transaction as another schema change on the same table, likely for a similar reason as in sql: fix deadlock in VALIDATE CONSTRAINT #32772 and sql: VALIDATE CONSTRAINT gets hung up when FK is added all in a single transaction. #38797, where the InternalExecutor tries to acquire a table lease within the user transaction and hangs. (We need to move that validation query out of the user transaction, filed in sql: make VALIDATE CONSTRAINT a schema change job #37712, but that won't work in the 19.1/19.2 mixed version state.)CREATE TABLE
statements can differ depending on whether the table descriptor has made a round-trip to disk or not, which causes difficulties for tests. We could fix this by always sorting FKs after we add one, so that they conform to what the printed FK order would have been when they were stored on indexes.Non-essential reminders and/or improvements
The text was updated successfully, but these errors were encountered: