Skip to content

Commit

Permalink
Update debug/dump cmd with Cluster-Environment-Name header (#2672)
Browse files Browse the repository at this point in the history
This is needed since the dump includes the PlacmentSource
  • Loading branch information
ryanhall07 authored Sep 29, 2020
1 parent 503d68d commit 41ac33c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/troubleshooting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,14 @@ This endpoint can be used on both the db nodes as well as the coordinator/query

To use this, simply run the following on either the M3DB debug listen port or the regular port on M3Coordinator.

You may need to include the following headers:

--8<--
docs/common/headers_placement_namespace.md
--8<--

```
curl <m3db_or_m3coordinator_ip>:<port>/debug/dump > <tmp_zip_file.zip>
curl -H "Cluster-Environment-Name: [set if not default]" <m3db_or_m3coordinator_ip>:<port>/debug/dump > <tmp_zip_file.zip>
# unzip the file
unzip <tmp_zip_file.zip>
Expand Down

0 comments on commit 41ac33c

Please sign in to comment.