cockroachdb/cockroach

stmtbundle: add recent schema changes and descriptor JSON

Open

#170,491 创建于 2026年5月18日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Go (32,150 star) (4,124 fork)batch import
A-sql-debug-bundleC-enhancementE-starterT-sql-queriesgood first issue

描述

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

贡献者指南

stmtbundle: add recent schema changes and descriptor JSON · cockroachdb/cockroach#170491 | Good First Issue