From 4d88170790ace40f49418b7550c5ab249c7026b4 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Wed, 31 Mar 2021 18:08:15 +0800 Subject: [PATCH 01/11] Create tiup-component-cluster-help.md --- tiup/tiup-component-cluster-help.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tiup/tiup-component-cluster-help.md diff --git a/tiup/tiup-component-cluster-help.md b/tiup/tiup-component-cluster-help.md new file mode 100644 index 0000000000000..0f2564eb4bd26 --- /dev/null +++ b/tiup/tiup-component-cluster-help.md @@ -0,0 +1,25 @@ +--- +title: tiup cluster help +--- + +# tiup cluster help + +tiup-cluster provides a wealth of help information for users in the command line interface. You can obtain it via the `help` command or the `--help` option. `tiup cluster help ` is basically equivalent to `tiup cluster --help`. + +## Syntax + +```shell +tiup cluster help [command] [flags] +``` + +`[command]` is used to specify the help information of which command that users need to view. If it is not specified, the help information of tiup-cluster is viewed. + +### -h, --help + +- Outputs the help information. +- Data type: `BOOLEAN` +- Default: false + +## Output + +The help information of the `[command]` or tiup-cluster. \ No newline at end of file From 747d00c0bda0f2c04288c34481479cf714d42bc9 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 6 Apr 2021 15:10:53 +0800 Subject: [PATCH 02/11] add 2 docs --- tiup/tiup-component-cluster-disable.md | 47 +++++++++++++++++++ tiup/tiup-component-cluster-display.md | 65 ++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 tiup/tiup-component-cluster-disable.md create mode 100644 tiup/tiup-component-cluster-display.md diff --git a/tiup/tiup-component-cluster-disable.md b/tiup/tiup-component-cluster-disable.md new file mode 100644 index 0000000000000..910766a1444ef --- /dev/null +++ b/tiup/tiup-component-cluster-disable.md @@ -0,0 +1,47 @@ +--- +title: tiup cluster disable +--- + +# tiup cluster disable + +The `tiup cluster disable` command is used to disable the auto-enabling after restarting the machine where the cluster service is located. This command executes the `systemctl disable ` on the specified node to disable the auto-enabling of the service. + +## Syntax + +```shell +tiup cluster disable [flags] +``` + +``: the cluster to disable the auto-enabling. + +## Options + +### -N, --node + +- Data type: `strings` +- Default: `[]`, which means no node is selected. +- Specifies the nodes to disable the auto-enabling. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. + +> **Note:** +> +> If the `-R, --role` are specified at the same time, the auto-enabling of services in their intersection is disabled. + +### -R, --role strings + +- Data type: `strings` +- Default: `[]`, which means no role is selected. +- Specifies the roles to disable the auto-enabling. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. + +> **Note:** +> +> If the `-N, --node` are specified at the same time, the auto-enabling of services in their intersection is disabled. + +### -h, --help + +- Outputs the help information. +- Data type: `BOOLEAN` +- Default: false + +## Output + +The execution log of the tiup-cluster. diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md new file mode 100644 index 0000000000000..68b54c64a28e6 --- /dev/null +++ b/tiup/tiup-component-cluster-display.md @@ -0,0 +1,65 @@ +--- +title: tiup cluster display +--- + +# tiup cluster display + +If you want to see the operation status of each component in the cluster, it is obviously inefficient to log in to each machine one by one. Therefore, tiup-cluster provides the `tiup cluster display` command to efficiently complete this task. + +## Syntax + +```shell +tiup cluster display [flags] +``` + +``: the name of the cluster to operate. If you forget the cluster name, you can check it through [cluster list](/tiup/tiup-component-cluster-list.md). + +## Options + +### --dashboard + +- By default, all node information of the entire cluster is displayed. After adding this option, only dashboard information is displayed. +- Data type: `BOOLEAN` +- Default: false + +### -N, --node + +- Data type: `strings` +- Default: `[]`, which means all nodes. +- Specifies the node to query. If not specified, it means all nodes. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. + +> **Note:** +> +> If `-R, --role` are specified at the same time, then the service status in their intersection is queried. + +### -R, --role strings + +- Data type: `strings` +- Default: `[]`, which means all roles. +- Specifies the role to query. If not specified, it means all roles. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. + +> **Note:** +> +> If `-N, --node` are specified at the same time, then the service status in their intersection is queried. + +### -h, --help + +- Outputs the help information. +- Data type: `BOOLEAN` +- Default: false + +## Outputs + +- The cluster name +- The cluster version +- SSH Client Type +- Dashboard address +- The table with the following fields: + - ID: node ID, composed of `IP:PORT` + - Role: the service role deployed on this node (such as TiDB, TiKV) + - Host: the IP of the machine corresponding to the node + - Ports: the port number occupied by the service + - OS/Arch: the operating system and machine architecture of this node + - Status: the current status of the node service + - Data Dir: the data directory of the service. `-` means no data directory. + - Deploy Dir: the deployment directory of the service \ No newline at end of file From 2f106f4786411f9b6585201d459bfb875d3b2442 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 6 Apr 2021 15:31:07 +0800 Subject: [PATCH 03/11] Revert "Create tiup-component-cluster-help.md" This reverts commit 4d88170790ace40f49418b7550c5ab249c7026b4. --- tiup/tiup-component-cluster-help.md | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 tiup/tiup-component-cluster-help.md diff --git a/tiup/tiup-component-cluster-help.md b/tiup/tiup-component-cluster-help.md deleted file mode 100644 index 0f2564eb4bd26..0000000000000 --- a/tiup/tiup-component-cluster-help.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: tiup cluster help ---- - -# tiup cluster help - -tiup-cluster provides a wealth of help information for users in the command line interface. You can obtain it via the `help` command or the `--help` option. `tiup cluster help ` is basically equivalent to `tiup cluster --help`. - -## Syntax - -```shell -tiup cluster help [command] [flags] -``` - -`[command]` is used to specify the help information of which command that users need to view. If it is not specified, the help information of tiup-cluster is viewed. - -### -h, --help - -- Outputs the help information. -- Data type: `BOOLEAN` -- Default: false - -## Output - -The help information of the `[command]` or tiup-cluster. \ No newline at end of file From b43e448efc331dd678fd74deab40c36fe7e43f0f Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 6 Apr 2021 16:09:00 +0800 Subject: [PATCH 04/11] refine the docs --- tiflash/tiflash-configuration.md | 2 +- tiup/tiup-component-cluster-display.md | 2 +- tiup/tiup-component-cluster-list.md | 35 ++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 tiup/tiup-component-cluster-list.md diff --git a/tiflash/tiflash-configuration.md b/tiflash/tiflash-configuration.md index a5a8a3d38ee42..1a5ad6543be52 100644 --- a/tiflash/tiflash-configuration.md +++ b/tiflash/tiflash-configuration.md @@ -65,7 +65,7 @@ delta_index_cache_size = 0 ## Storage paths settings take effect starting from v4.0.9 [storage] - ## [Experimental] New in v5.0. This item limits the total write rate of background tasks in bytes per second. It is not recommanded to use this experimental feature in a production environment. + ## [Experimental] New in v5.0. This item limits the total write rate of background tasks in bytes per second. It is not recommended to use this experimental feature in a production environment. ## The unit is bytes. Currently, the setting such as "10GB" is not supported. ## The default value is 0, which means no limit. ## This parameter is used to control the usage of machine disk bandwidth by background tasks mainly for the scenario where TiFlash is deployed on the AWS EBS (gp2/gp3) disk. diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index 68b54c64a28e6..f59a13af903e3 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -44,7 +44,7 @@ tiup cluster display [flags] ### -h, --help -- Outputs the help information. +- Prints the help information. - Data type: `BOOLEAN` - Default: false diff --git a/tiup/tiup-component-cluster-list.md b/tiup/tiup-component-cluster-list.md new file mode 100644 index 0000000000000..076b7cba0b587 --- /dev/null +++ b/tiup/tiup-component-cluster-list.md @@ -0,0 +1,35 @@ +--- +title: tiup cluster list +--- + +# tiup cluster list + +tiup-cluster supports the deployment of multiple clusters using the same central control machine. You can use the `tiup cluster list` command to view which clusters are deployed by the currently logged-in user using this central control machine. + +> **Note:** +> +> The deployed cluster data is placed in the `~/.tiup/storage/cluster/clusters/` directory by default, so on the same central control machine, the currently logged-in user cannot view the clusters deployed by other users. + +## Syntax + +```shell +tiup cluster list [flags] +``` + +## Options + +### -h, --help + +- Prints help information. +- Data type: `BOOLEAN` +- Default: false + +## Outputs + +Output the table with the following fields: + +- Name: the cluster name +- User: the deployment user +- Version: the cluster version +- Path: the path of the cluster deployment data on the central control machine +- PrivateKey: the path of the private key connected to the cluster \ No newline at end of file From 2305fdee46801998341d31e5e789d3b18955baf0 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 6 Apr 2021 16:11:00 +0800 Subject: [PATCH 05/11] Update tiup-component-cluster-disable.md --- tiup/tiup-component-cluster-disable.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tiup/tiup-component-cluster-disable.md b/tiup/tiup-component-cluster-disable.md index 910766a1444ef..491479791f1f3 100644 --- a/tiup/tiup-component-cluster-disable.md +++ b/tiup/tiup-component-cluster-disable.md @@ -24,7 +24,7 @@ tiup cluster disable [flags] > **Note:** > -> If the `-R, --role` are specified at the same time, the auto-enabling of services in their intersection is disabled. +> If the `-R, --role` are specified at the same time, the auto-enabling of services in their intersection is disabled. ### -R, --role strings @@ -34,7 +34,7 @@ tiup cluster disable [flags] > **Note:** > -> If the `-N, --node` are specified at the same time, the auto-enabling of services in their intersection is disabled. +> If the `-N, --node` are specified at the same time, the auto-enabling of services in their intersection is disabled. ### -h, --help From 925c90151cb50093c1bf699021b95e6dfc0470d8 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Tue, 6 Apr 2021 18:37:27 +0800 Subject: [PATCH 06/11] refine the docs --- tiup/tiup-component-cluster-display.md | 8 ++++---- tiup/tiup-component-cluster-list.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index f59a13af903e3..4512cd48b17ca 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -12,13 +12,13 @@ If you want to see the operation status of each component in the cluster, it is tiup cluster display [flags] ``` -``: the name of the cluster to operate. If you forget the cluster name, you can check it through [cluster list](/tiup/tiup-component-cluster-list.md). +``: the name of the cluster to operate. If you forget the cluster name, you can check it by the [cluster list](/tiup/tiup-component-cluster-list.md). ## Options ### --dashboard -- By default, all node information of the entire cluster is displayed. After adding this option, only dashboard information is displayed. +- By default, all node information of the entire cluster is displayed. After adding the `--dashboard` option, only dashboard information is displayed. - Data type: `BOOLEAN` - Default: false @@ -55,11 +55,11 @@ tiup cluster display [flags] - SSH Client Type - Dashboard address - The table with the following fields: - - ID: node ID, composed of `IP:PORT` + - ID: the node ID, composed of `IP:PORT` - Role: the service role deployed on this node (such as TiDB, TiKV) - Host: the IP of the machine corresponding to the node - Ports: the port number occupied by the service - - OS/Arch: the operating system and machine architecture of this node + - OS/Arch: the operating system and the machine architecture of this node - Status: the current status of the node service - Data Dir: the data directory of the service. `-` means no data directory. - Deploy Dir: the deployment directory of the service \ No newline at end of file diff --git a/tiup/tiup-component-cluster-list.md b/tiup/tiup-component-cluster-list.md index 076b7cba0b587..72b1d5e5c6a93 100644 --- a/tiup/tiup-component-cluster-list.md +++ b/tiup/tiup-component-cluster-list.md @@ -26,10 +26,10 @@ tiup cluster list [flags] ## Outputs -Output the table with the following fields: +Outputs the table with the following fields: - Name: the cluster name - User: the deployment user - Version: the cluster version - Path: the path of the cluster deployment data on the central control machine -- PrivateKey: the path of the private key connected to the cluster \ No newline at end of file +- PrivateKey: the path of the private key that is connected to the cluster \ No newline at end of file From c7a3e71948118010d957bf08db6c4838323bd641 Mon Sep 17 00:00:00 2001 From: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Date: Wed, 7 Apr 2021 11:18:12 +0800 Subject: [PATCH 07/11] Apply suggestions from code review Co-authored-by: Ran --- tiup/tiup-component-cluster-disable.md | 6 +++--- tiup/tiup-component-cluster-display.md | 4 ++-- tiup/tiup-component-cluster-list.md | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tiup/tiup-component-cluster-disable.md b/tiup/tiup-component-cluster-disable.md index 491479791f1f3..666f5f50171d2 100644 --- a/tiup/tiup-component-cluster-disable.md +++ b/tiup/tiup-component-cluster-disable.md @@ -12,7 +12,7 @@ The `tiup cluster disable` command is used to disable the auto-enabling after re tiup cluster disable [flags] ``` -``: the cluster to disable the auto-enabling. +``: the cluster whose auto-enabling service is to be disabled. ## Options @@ -24,7 +24,7 @@ tiup cluster disable [flags] > **Note:** > -> If the `-R, --role` are specified at the same time, the auto-enabling of services in their intersection is disabled. +> If the `-R, --role` option is specified at the same time, the auto-enabling of services in their intersection is disabled. ### -R, --role strings @@ -34,7 +34,7 @@ tiup cluster disable [flags] > **Note:** > -> If the `-N, --node` are specified at the same time, the auto-enabling of services in their intersection is disabled. +> If the `-N, --node` option is specified at the same time, the auto-enabling of services in their intersection is disabled. ### -h, --help diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index 4512cd48b17ca..d6dda51b6945b 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -12,7 +12,7 @@ If you want to see the operation status of each component in the cluster, it is tiup cluster display [flags] ``` -``: the name of the cluster to operate. If you forget the cluster name, you can check it by the [cluster list](/tiup/tiup-component-cluster-list.md). +``: the name of the cluster to operate on. If you forget the cluster name, you can check it in the [cluster list](/tiup/tiup-component-cluster-list.md). ## Options @@ -62,4 +62,4 @@ tiup cluster display [flags] - OS/Arch: the operating system and the machine architecture of this node - Status: the current status of the node service - Data Dir: the data directory of the service. `-` means no data directory. - - Deploy Dir: the deployment directory of the service \ No newline at end of file + - Deploy Dir: the deployment directory of the service diff --git a/tiup/tiup-component-cluster-list.md b/tiup/tiup-component-cluster-list.md index 72b1d5e5c6a93..755855845367c 100644 --- a/tiup/tiup-component-cluster-list.md +++ b/tiup/tiup-component-cluster-list.md @@ -4,11 +4,11 @@ title: tiup cluster list # tiup cluster list -tiup-cluster supports the deployment of multiple clusters using the same central control machine. You can use the `tiup cluster list` command to view which clusters are deployed by the currently logged-in user using this central control machine. +tiup-cluster supports deploying multiple clusters using the same control machine. The `tiup cluster list` command outputs all clusters deployed by the currently logged-in user using this control machine. > **Note:** > -> The deployed cluster data is placed in the `~/.tiup/storage/cluster/clusters/` directory by default, so on the same central control machine, the currently logged-in user cannot view the clusters deployed by other users. +> The deployed cluster data is stored in the `~/.tiup/storage/cluster/clusters/` directory by default, so on the same control machine, the currently logged-in user cannot view the clusters deployed by other users. ## Syntax @@ -31,5 +31,5 @@ Outputs the table with the following fields: - Name: the cluster name - User: the deployment user - Version: the cluster version -- Path: the path of the cluster deployment data on the central control machine -- PrivateKey: the path of the private key that is connected to the cluster \ No newline at end of file +- Path: the path of the cluster deployment data on the control machine +- PrivateKey: the path of the private key that is used to connect the cluster From 308350e8778f20da434df6308669e0c5d1aa55f5 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Wed, 7 Apr 2021 11:26:25 +0800 Subject: [PATCH 08/11] address comments --- tiup/tiup-component-cluster-disable.md | 4 ++-- tiup/tiup-component-cluster-display.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tiup/tiup-component-cluster-disable.md b/tiup/tiup-component-cluster-disable.md index 666f5f50171d2..3e8a9426c6862 100644 --- a/tiup/tiup-component-cluster-disable.md +++ b/tiup/tiup-component-cluster-disable.md @@ -20,7 +20,7 @@ tiup cluster disable [flags] - Data type: `strings` - Default: `[]`, which means no node is selected. -- Specifies the nodes to disable the auto-enabling. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. +- Specifies the nodes whose auto-enabling service is to be disabled. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. > **Note:** > @@ -30,7 +30,7 @@ tiup cluster disable [flags] - Data type: `strings` - Default: `[]`, which means no role is selected. -- Specifies the roles to disable the auto-enabling. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. +- Specifies the roles whose auto-enabling service is to be disabled. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. > **Note:** > diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index d6dda51b6945b..9e7121a459e9f 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -26,21 +26,21 @@ tiup cluster display [flags] - Data type: `strings` - Default: `[]`, which means all nodes. -- Specifies the node to query. If not specified, it means all nodes. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. +- Specifies the node to query. If not specified, all nodes are queried. The value of this option is a comma-separated list of node IDs. The node ID is the first column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. > **Note:** > -> If `-R, --role` are specified at the same time, then the service status in their intersection is queried. +> If the `-R, --role` option is specified at the same time, then the service status in their intersection is queried. ### -R, --role strings - Data type: `strings` - Default: `[]`, which means all roles. -- Specifies the role to query. If not specified, it means all roles. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. +- Specifies the role to query. If not specified, all roles are queried. The value of this option is a comma-separated list of node roles. The role is the second column of the [cluster status](/tiup/tiup-component-cluster-display.md) table. > **Note:** > -> If `-N, --node` are specified at the same time, then the service status in their intersection is queried. +> If the `-N, --node` option is specified at the same time, then the service status in their intersection is queried. ### -h, --help From aac0122422c3eb74958a1fc6a78ef4b1b0c144b3 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Wed, 7 Apr 2021 11:46:18 +0800 Subject: [PATCH 09/11] Update tiup-component-cluster-display.md --- tiup/tiup-component-cluster-display.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index 9e7121a459e9f..f4aca1f1ba5b8 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -12,7 +12,7 @@ If you want to see the operation status of each component in the cluster, it is tiup cluster display [flags] ``` -``: the name of the cluster to operate on. If you forget the cluster name, you can check it in the [cluster list](/tiup/tiup-component-cluster-list.md). +``: the name of the cluster to operate on. If you forget the cluster name, you can check it with the [cluster list](/tiup/tiup-component-cluster-list.md) command. ## Options From 7f33f58ce6f804e8a43765742b070833292f2b25 Mon Sep 17 00:00:00 2001 From: JoyinQ <56883733+Joyinqin@users.noreply.github.com> Date: Wed, 7 Apr 2021 11:46:39 +0800 Subject: [PATCH 10/11] Apply suggestions from code review Co-authored-by: SIGSEGV --- tiup/tiup-component-cluster-display.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiup/tiup-component-cluster-display.md b/tiup/tiup-component-cluster-display.md index f4aca1f1ba5b8..824627ae9459b 100644 --- a/tiup/tiup-component-cluster-display.md +++ b/tiup/tiup-component-cluster-display.md @@ -18,7 +18,7 @@ tiup cluster display [flags] ### --dashboard -- By default, all node information of the entire cluster is displayed. After adding the `--dashboard` option, only dashboard information is displayed. +- By default, all node information of the entire cluster is displayed. With the `--dashboard` option, only dashboard information is displayed. - Data type: `BOOLEAN` - Default: false From 774e3884db695e788aa30dc3616d881748add064 Mon Sep 17 00:00:00 2001 From: Joyinqin Date: Wed, 7 Apr 2021 13:42:53 +0800 Subject: [PATCH 11/11] Update tiflash-configuration.md --- tiflash/tiflash-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiflash/tiflash-configuration.md b/tiflash/tiflash-configuration.md index be7aa4c4a5f8a..fd5c055769189 100644 --- a/tiflash/tiflash-configuration.md +++ b/tiflash/tiflash-configuration.md @@ -65,7 +65,7 @@ delta_index_cache_size = 0 ## Storage paths settings take effect starting from v4.0.9 [storage] - ## [Experimental] New in v5.0. This item limits the total write rate of background tasks in bytes per second. It is not recommended to use this experimental feature in a production environment. + ## [Experimental] New in v5.0. This item limits the total write rate of background tasks in bytes per second. It is not recommanded to use this experimental feature in a production environment. ## The unit is bytes. Currently, the setting such as "10GB" is not supported. ## The default value is 0, which means no limit. ## This parameter is used to control the usage of machine disk bandwidth by background tasks mainly for the scenario where TiFlash is deployed on the AWS EBS (gp2/gp3) disk.