Skip to content

Commit 7407e17

Browse files
committed
tools/pd-control: add option of disable-namespace-relocation
1 parent de27140 commit 7407e17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/pd-control.md

+3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Usage:
116116
"disable-make-up-replica": "false",
117117
"disable-remove-extra-replica": "false",
118118
"disable-location-replacement": "false",
119+
"disable-namespace-relocation": "false",
119120
"schedulers-v2": [
120121
{
121122
"type": "balance-region",
@@ -263,6 +264,8 @@ The configuration above is global. You can also tune the configuration by config
263264
264265
- `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.
265266
267+
- `disable-namespace-relocation` is used to disable region relocation to the store of its namespace. When you set it to `true`, PD does not move regions to stores where they belong to.
268+
266269
### `config delete namespace \<name\> [\<option\>]`
267270
268271
Use this command to delete the configuration of namespace.

0 commit comments

Comments
 (0)