Skip to content

Commit

Permalink
*: Rename snap-max-write-bytes-per-sec (tiflash) (pingcap#18590)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang authored Aug 23, 2024
1 parent e65145a commit 7e5e9e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tiflash/create-tiflash-replicas.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Before TiFlash replicas are added, each TiKV instance performs a full table scan
```sql
-- The default value for both configurations are 100MiB, i.e. the maximum disk bandwidth used for writing snapshots is no more than 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';
```

After executing these SQL statements, the configuration changes take effect immediately without restarting the cluster. However, since the replication speed is still restricted by the PD limit globally, you cannot observe the acceleration for now.
Expand Down Expand Up @@ -173,7 +173,7 @@ Before TiFlash replicas are added, each TiKV instance performs a full table scan
```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';
```
## Set available zones
Expand Down

0 comments on commit 7e5e9e7

Please sign in to comment.