From 55c8a86c32b439eec8b1ef319483ca15dd74902e Mon Sep 17 00:00:00 2001 From: caojiafeng Date: Fri, 17 Aug 2018 09:50:41 +0800 Subject: [PATCH] tools/pd-control: add option of disable-namespace-relocation (#573) --- tools/pd-control.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/pd-control.md b/tools/pd-control.md index a7ff534bf40e5..ae5932b6092ec 100644 --- a/tools/pd-control.md +++ b/tools/pd-control.md @@ -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", @@ -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 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. + ### `config delete namespace \ [\]` Use this command to delete the configuration of namespace.