From 533b0c7d7328d96a941a1ece0c26bb19eb241383 Mon Sep 17 00:00:00 2001 From: disksing Date: Tue, 16 Jun 2020 16:53:17 +0800 Subject: [PATCH] cherry pick #3653 to release-4.0 Signed-off-by: ti-srebot --- schedule-replicas-by-topology-labels.md | 2 +- three-data-centers-in-two-cities-deployment.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schedule-replicas-by-topology-labels.md b/schedule-replicas-by-topology-labels.md index ef20dc693886..6553ea05fb60 100644 --- a/schedule-replicas-by-topology-labels.md +++ b/schedule-replicas-by-topology-labels.md @@ -83,7 +83,7 @@ tikv-7 labels="zone=z3,host=h1" tikv-8 labels="zone=z3,host=h2" [pd_servers:vars] -location_labels = ["zone", "rack"] +location_labels = ["zone", "host"] ``` ## 基于拓扑 label 的 PD 调度策略 diff --git a/three-data-centers-in-two-cities-deployment.md b/three-data-centers-in-two-cities-deployment.md index 9334112acab8..4d9260001d6d 100644 --- a/three-data-centers-in-two-cities-deployment.md +++ b/three-data-centers-in-two-cities-deployment.md @@ -168,7 +168,7 @@ tikv_servers: server.grpc-compression-type: gzip ``` -- 调整 PD balance 缓冲区大小,提高 PD 容忍度,因为 PD 会根据节点情况计算出各个对象的 score 作为调度的一句,当两个 store 的 leader 或 Region 的得分差距小于指定倍数的 Region size 时,PD 会认为此时 balance 达到均衡状态。 +- 调整 PD balance 缓冲区大小,提高 PD 容忍度,因为 PD 会根据节点情况计算出各个对象的 score 作为调度的依据,当两个 store 的 leader 或 Region 的得分差距小于指定倍数的 Region size 时,PD 会认为此时 balance 达到均衡状态。 ``` schedule.tolerant-size-ratio: 20.0