From 7a4953efe886daeef8c89f024607c804dad95c79 Mon Sep 17 00:00:00 2001 From: xixirangrang <35301108+hfxsd@users.noreply.github.com> Date: Tue, 17 Aug 2021 16:06:29 +0800 Subject: [PATCH 1/2] Update tikv-configuration-file.md added `raft-client-queue-size` and `cmd-batch` --- tikv-configuration-file.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index ad34ce379ffd1..4676d099de939 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -120,6 +120,11 @@ This document only describes the parameters that are not included in command-lin + Default value: `"1s"` + Minimum value: `0` +### `raft-client-queue-size` + ++ Specifies the queue size of the Raft messages. If too many messages not sent in time result in a full buffer, or messages discarded, you can specify a greater value to increase stability of the system. ++ Default value: 8192 + ## readpool.unified Configuration items related to the single thread pool serving read requests. This thread pool supersedes the original storage thread pool and coprocessor thread pool since the 4.0 version. @@ -637,6 +642,11 @@ Configuration items related to Raftstore + Default value: `1` + Minimum value: greater than `0` +### `cmd-batch` + ++ Controls whether to enable batch processing of the requests. It can significantly improve the write performance. ++ Default value: true + ## Coprocessor Configuration items related to Coprocessor From 43fe29fcdafe71e6c0336cd3afc4868bff38b065 Mon Sep 17 00:00:00 2001 From: Liqi Geng Date: Thu, 19 Aug 2021 05:38:06 -0500 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com> --- tikv-configuration-file.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tikv-configuration-file.md b/tikv-configuration-file.md index 4676d099de939..c33138b8de9e6 100644 --- a/tikv-configuration-file.md +++ b/tikv-configuration-file.md @@ -122,8 +122,8 @@ This document only describes the parameters that are not included in command-lin ### `raft-client-queue-size` -+ Specifies the queue size of the Raft messages. If too many messages not sent in time result in a full buffer, or messages discarded, you can specify a greater value to increase stability of the system. -+ Default value: 8192 ++ Specifies the queue size of the Raft messages in TiKV. If too many messages not sent in time result in a full buffer, or messages discarded, you can specify a greater value to improve system stability. ++ Default value: `8192` ## readpool.unified @@ -644,8 +644,8 @@ Configuration items related to Raftstore ### `cmd-batch` -+ Controls whether to enable batch processing of the requests. It can significantly improve the write performance. -+ Default value: true ++ Controls whether to enable batch processing of the requests. When it is enabled, the write performance is significantly improved. ++ Default value: `true` ## Coprocessor