From 3398ebbfac3b864f60fc196cb1260b58b868fcb9 Mon Sep 17 00:00:00 2001 From: Lilian Lee Date: Tue, 8 Oct 2024 18:06:39 +0800 Subject: [PATCH] Refine wording --- tikv-configuration-file.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 798af7f36f198..a38dd6021181f 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -1935,15 +1935,15 @@ Configuration items related to Raft Engine. ### `spill-dir` New in v8.4.0 -+ The auxiliary directory for storing raft log files. When the disk where the `dir` specified is full, new raft logs will be stored under this directory. If this directory does not exist after configuration, it will be created when TiKV is started. -+ If this configuration is not set, it means that the auxiliary directory is disabled. ++ The auxiliary directory for storing Raft log files. When the disk for the `dir` directory is full, new Raft logs will be stored under this directory. If this auxiliary directory does not exist after configuration, it will be automatically created when TiKV is started. ++ If this configuration is not set, the auxiliary directory is not enabled. > **Note:** > -> - This configuration is only valid when the `dir` and `spill-dir` of the Raft Engine are specified as different disk drives. -> - After enabling this feature, if you want to disable it, you need to perform the following operations before restarting TiKV. Otherwise, TiKV cannot start. -> 1. Shut down TiKV. -> 2. Copy all the Raft Logs in the `spill-dir` directory to the [`dir`](/tikv-configuration-file.md#dir) directory. +> - This configuration only takes effect when the `dir` and `spill-dir` of the Raft Engine are set to different disk drives. +> - After enabling this feature, if you want to disable it, you need to perform the following operations before restarting TiKV. Otherwise, TiKV will fail to start. +> 1. Stop TiKV. +> 2. Copy all the Raft Logs from the `spill-dir` directory to the [`dir`](/tikv-configuration-file.md#dir) directory. > 3. Remove this configuration from the TiKV configuration file. > 4. Restart TiKV.