cockroachdb / cockroachdb/cockroach

Add the zone config of the touched tables in a statement bundle of a query

Open
#153,747 0 comments 0 reactions 0 assignees View on GitHub
A-sql-debug-bundle C-enhancement O-support P-3 T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
Please add the zone config of the touched tables in a statement bundle of a query. It may help with troubleshooting. It is not related to a particular problem.

**Describe the solution you'd like**
Add the zone config of the touched tables in a statement bundle of a query

**Describe alternatives you've considered**
n/a

**Additional context**
This was an issue while troubleshooting a customer issue (cloud customer). This customer has a very large cluster (over 150 nodes) and running `SHOW ALL ZONE CONFIGURATIONS; ` (or collecting a full debug zip) causes latency. So having the zone config information in the statement bundle would have been nice (as long as collecting a bundle doesn't cause latency too). Maybe it can be added as a flag or a checkbox?

Jira issue: CRDB-54574

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.