cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

Fermée

#170 491 ouverte le 18 mai 2026

 (2 commentaires) (0 réaction) (0 personne assignée)Go (4 124 forks)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

Métriques du dépôt

Stars
 (32 150 étoiles)
Métriques de merge PR
 (Merge moyen 5j 4h) (26 PRs mergées en 30 j)

Description

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

Guide contributeur