cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

已關閉

#170,491 建立於 2026年5月18日

 (2 則留言) (0 個反應) (0 位負責人)Go (4,124 個分叉)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

倉庫指標

星標
 (32,150 顆星)
PR 合併指標
 (平均合併 5天 4小時) (30 天內合併 26 個 PR)

描述

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

貢獻者指南