Skip to content

Commit

Permalink
tools/pd-control: add option of disable-namespace-relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
nanne007 committed Aug 16, 2018
1 parent de27140 commit 9e2230f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Usage:
"disable-make-up-replica": "false",
"disable-remove-extra-replica": "false",
"disable-location-replacement": "false",
"disable-namespace-relocation": "false",
"schedulers-v2": [
{
"type": "balance-region",
Expand Down Expand Up @@ -263,6 +264,8 @@ The configuration above is global. You can also tune the configuration by config

- `disable-location-replacement` is used to disable the isolation level check. When you set it to `true`, PD does not improve the isolation level of Region replicas by scheduling.

- `disable-namespace-relocation` is used to disable relocation region to stores of its namespace. When you set it to `true`, PD does not move regions to stores where they belongs to.

### `config delete namespace \<name\> [\<option\>]`

Use this command to delete the configuration of namespace.
Expand Down

0 comments on commit 9e2230f

Please sign in to comment.