cli: tsdump should also create tsdump.gob.yaml #80478
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
Is your feature request related to a problem? Please describe.
To use a
tsdump
, one needs an associated node:store mapping (in a yaml file). However, thetsdump
command does not produce this. With adebug.zip
we will produce it like this:Describe the solution you'd like
Ideally the
tsdump
command creates one automatically by also loading the node:store mapping from the cluster through a status RPC.Describe alternatives you've considered
The command could at least print the following SQL query to make the tsdump file:
cockroach/pkg/cmd/roachtest/cluster.go
Lines 1207 to 1237 in dd0bdf3
We could also add a helper script to debug.zip that does the
tail | awk
above as a partial solution (a debug.zip is not always available or can be very large relative to the tsdump).Additional context
Customer support increasingly relies on tsdump and the need to generate and distribute the yaml files tends to cause friction.
cc @rimadeodhar @daniel-crlabs
Jira issue: CRDB-15595
The text was updated successfully, but these errors were encountered: