From 5157bdb52995cc0ca41ec5d40e3f4eb0aafd94e2 Mon Sep 17 00:00:00 2001 From: JaySon Date: Fri, 23 Aug 2024 17:06:15 +0800 Subject: [PATCH] *: Rename snap-max-write-bytes-per-sec (tiflash) (#18362) --- tiflash/create-tiflash-replicas.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiflash/create-tiflash-replicas.md b/tiflash/create-tiflash-replicas.md index 366d373fcd47..6939031b0c1b 100644 --- a/tiflash/create-tiflash-replicas.md +++ b/tiflash/create-tiflash-replicas.md @@ -126,7 +126,7 @@ SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA = " ```sql -- 这两个参数默认值都为 100MiB,即用于副本同步的快照最大占用的磁盘带宽不超过 100MiB/s。 SET CONFIG tikv `server.snap-io-max-bytes-per-sec` = '300MiB'; - SET CONFIG tiflash `raftstore-proxy.server.snap-max-write-bytes-per-sec` = '300MiB'; + SET CONFIG tiflash `raftstore-proxy.server.snap-io-max-bytes-per-sec` = '300MiB'; ``` 以上 SQL 语句执行后,配置修改立即生效,无需重启集群。但由于副本同步速度还受到 PD 副本速度控制,因此当前你还无法观察到副本同步速度提升。 @@ -165,7 +165,7 @@ SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA = " ```sql SET CONFIG tikv `server.snap-io-max-bytes-per-sec` = '100MiB'; - SET CONFIG tiflash `raftstore-proxy.server.snap-max-write-bytes-per-sec` = '100MiB'; + SET CONFIG tiflash `raftstore-proxy.server.snap-io-max-bytes-per-sec` = '100MiB'; ``` ## 设置可用区