From 944758dcd1568d93b131e40de8187df82e5c68d6 Mon Sep 17 00:00:00 2001 From: disksing Date: Mon, 15 Jun 2020 14:43:04 +0800 Subject: [PATCH] *: fix typo Signed-off-by: disksing --- 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 53bc681d6594..a681e521a4d8 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