From cdf6b8e89566d836edc59dcf3b7d598b5d63e776 Mon Sep 17 00:00:00 2001 From: gengliqi Date: Wed, 16 Jul 2025 22:16:31 +0800 Subject: [PATCH 1/6] deprecate tidb_mpp_store_fail_ttl Signed-off-by: gengliqi --- system-variables.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index 6ad5c710e3ace..7ef85741cef20 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4049,12 +4049,16 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in ### tidb_mpp_store_fail_ttl +> **Warning:** +> +> Starting from v9.0.0, this variable is deprecated. Its value will be fixed to `0s`, meaning TiDB no longer waits before sending queries to newly started TiFlash nodes, as additional delay is no longer necessary to prevent query failures. + - Scope: SESSION | GLOBAL - Persists to cluster: Yes - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Duration -- Default value: `60s` -- The newly started TiFlash node does not provide services. To prevent queries from failing, TiDB limits the tidb-server sending queries to the newly started TiFlash node. This variable indicates the time range in which the newly started TiFlash node is not sent requests. +- Default value: Before v9.0.0, the default value is `60s`. Starting from v9.0.0, the default value is `0s`. +- The newly started TiFlash node does not provide services. To prevent queries from failing, TiDB limits the tidb-server from sending queries to the newly started TiFlash nodes. This variable indicates the time range during which the newly started TiFlash node does not send requests. ### tidb_multi_statement_mode New in v4.0.11 From 7b751ada1cd5c46941bf0783d1b79b544b5a4cec Mon Sep 17 00:00:00 2001 From: gengliqi Date: Wed, 16 Jul 2025 22:23:57 +0800 Subject: [PATCH 2/6] u Signed-off-by: gengliqi --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 7ef85741cef20..d6e19a9338219 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4058,7 +4058,7 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Duration - Default value: Before v9.0.0, the default value is `60s`. Starting from v9.0.0, the default value is `0s`. -- The newly started TiFlash node does not provide services. To prevent queries from failing, TiDB limits the tidb-server from sending queries to the newly started TiFlash nodes. This variable indicates the time range during which the newly started TiFlash node does not send requests. +- The newly started TiFlash node does not provide services. To prevent queries from failing, TiDB limits the tidb-server from sending queries to the newly started TiFlash node. This variable indicates the time range in which the newly started TiFlash node is not sent requests. ### tidb_multi_statement_mode New in v4.0.11 From 43f8fa8814f115d63945d4e544b23c21af6d010b Mon Sep 17 00:00:00 2001 From: Liqi Geng Date: Wed, 16 Jul 2025 22:24:37 +0800 Subject: [PATCH 3/6] Update system-variables.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index d6e19a9338219..e45ad256891bc 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4051,7 +4051,7 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in > **Warning:** > -> Starting from v9.0.0, this variable is deprecated. Its value will be fixed to `0s`, meaning TiDB no longer waits before sending queries to newly started TiFlash nodes, as additional delay is no longer necessary to prevent query failures. +> Starting from v9.0.0, this variable is deprecated and its value is fixed to `0s`. This means TiDB no longer waits before sending queries to newly started TiFlash nodes, as the delay is no longer necessary to prevent query failures. - Scope: SESSION | GLOBAL - Persists to cluster: Yes From 9ebbc1f31671aa75033106877e0c12a205e3a294 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 4 Nov 2025 14:50:56 +0800 Subject: [PATCH 4/6] Update system-variables.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index e45ad256891bc..cd43be188537a 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4057,7 +4057,7 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in - Persists to cluster: Yes - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No - Type: Duration -- Default value: Before v9.0.0, the default value is `60s`. Starting from v9.0.0, the default value is `0s`. +- Default value: `0s`. In v8.5.3 and earlier versions, the default value is `60s`. - The newly started TiFlash node does not provide services. To prevent queries from failing, TiDB limits the tidb-server from sending queries to the newly started TiFlash node. This variable indicates the time range in which the newly started TiFlash node is not sent requests. ### tidb_multi_statement_mode New in v4.0.11 From ff85f745d96b6aba7c7dffa34e698930970954b8 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Tue, 4 Nov 2025 14:59:49 +0800 Subject: [PATCH 5/6] minor wording updates --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index cd43be188537a..e4495c2fe697b 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4051,7 +4051,7 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in > **Warning:** > -> Starting from v9.0.0, this variable is deprecated and its value is fixed to `0s`. This means TiDB no longer waits before sending queries to newly started TiFlash nodes, as the delay is no longer necessary to prevent query failures. +> Starting from v9.0.0, this variable is deprecated and its value is fixed to `0s`. This means TiDB no longer needs to wait before sending queries to newly started TiFlash nodes, as delays are no longer necessary to prevent query failures. - Scope: SESSION | GLOBAL - Persists to cluster: Yes From 7fc4df1d009597eed67bc9b203d8cbcb10560568 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Thu, 6 Nov 2025 16:22:32 +0800 Subject: [PATCH 6/6] remove v9.0 warning --- system-variables.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/system-variables.md b/system-variables.md index e4495c2fe697b..fe5bdd8b7fbb1 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4049,10 +4049,6 @@ As shown in this diagram, when [`tidb_enable_paging`](#tidb_enable_paging-new-in ### tidb_mpp_store_fail_ttl -> **Warning:** -> -> Starting from v9.0.0, this variable is deprecated and its value is fixed to `0s`. This means TiDB no longer needs to wait before sending queries to newly started TiFlash nodes, as delays are no longer necessary to prevent query failures. - - Scope: SESSION | GLOBAL - Persists to cluster: Yes - Applies to hint [SET_VAR](/optimizer-hints.md#set_varvar_namevar_value): No