cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

Chiusa

#170.491 aperta il 18 mag 2026

 (2 commenti) (0 reazioni) (0 assegnatari)Go (4124 fork)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

Metriche repository

Star
 (32.150 stelle)
Metriche merge PR
 (Merge medio 5g 4h) (26 PR mergiate in 30 g)

Descrizione

When investigating optimizer bugs, In order to rule out schema changes and other interactions with descriptor state, we should consider adding two things to statement diagnostics bundles:

  1. a list of all known schema changes for each schema object used by the statement
  2. the pretty-printed descriptor JSON for the descriptor of each schema object used by the statement

Jira issue: CRDB-64033

Guida contributor