Open DrewKimball opened 1 week ago
Hi @DrewKimball, please add branch-* labels to identify which branch(es) this C-bug affects.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
From @dt:
That feels somewhat right/like a legitimate known-limitation to me: restore doesn't restore system tables so references to them potentially should be considered invalid (since they were to the backed up tables).
As long as the SKIP_MISSING_UDFS escape hatch means you can still restore your data, just without the behavior, this seems in line with prior behaviors here.
Here's a backupccl data-driven test that shows how RESTORE fails in response to a routine that references
system.descriptor
. We may be missing handling for rewriting references to the internal/system tables.Jira issue: CRDB-43036