sql: creating new tables using crdb_internal.unsafe_upsert_descriptor
should affect ID generation
#68230
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Describe the problem
If you use a tool like
cockroach debug doctor recreate
to add descriptors, it will not change the ID generation counter. That means that subsequent descriptor creation may fail due to a conflict with existing descriptors.The text was updated successfully, but these errors were encountered: