cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

Geschlossen

#170.491 geöffnet am 18.05.2026

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (4.124 Forks)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

Repository-Metriken

Stars
 (32.150 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 5T 4h) (26 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide