-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Enable cockroach debug tsdump to automatically create tsdump.yaml
When an user creates a tsdump in raw format, it will also automatically create a tsdump.yaml file containing the storeID: nodeID mappings. This file is required by Technical Support in order to be able to load tsdump raw files for troubleshooting purposes. This change will expedite the TSEs ability to investigate issues requiring the tsdump, as it eliminates the requirement for TSEs to also obtain the debug zip in order to create the tsdump.yaml file. The tsdump.yaml is only created automatically if the flag `--format=raw` is used and the tsdump.yaml will be automatically created in `/tmp/tsump.yaml`. In addition to using the `--format=raw` flag, an user can pass the `--yaml` flag, allowing the user to chose where to save the yaml file, instead of the default location (`/tmp`). Release note (cli change): cockroach debug tsdump creates tsdump.yaml Usage: cockroach debug tsdump --host <host>:<port> \ --format raw --yaml=/some_path/tsdump.yaml > /some_path/tsdump.gob Authored by: Daniel Almeida Epic: none
- Loading branch information
1 parent
6d37da2
commit a56dc25
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters