Skip to content

Commit

Permalink
Update two parts in "pd-recover.md" (pingcap#8297)
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jin19 authored Apr 21, 2022
1 parent 2f099ab commit 66ff32d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pd-recover.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,12 @@ Or you can simply run the above command in all PD servers to find the largest on

### Deploy a new PD cluster

Before deploying a new PD cluster, you need to stop the the existing PD cluster and then delete the previous data directory which is specified by `--data-dir`.
Before deploying a new PD cluster, you need to stop the the existing PD cluster and then delete the previous data directory or specify a new data directory using `--data-dir`.

### Use pd-recover

You only need to run `pd-recover` on one PD node.

{{< copyable "shell-regular" >}}

```bash
Expand Down

0 comments on commit 66ff32d

Please sign in to comment.