From 10a1483255ddd6c8d0a8c925d44128b4705cb353 Mon Sep 17 00:00:00 2001 From: gengliqi Date: Wed, 16 Jul 2025 22:16:31 +0800 Subject: [PATCH 1/3] 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 6d1e2fd125559..5b3ea7e84fea6 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4079,12 +4079,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 967759c71e6f5b274b151ef73303839d3415cdc9 Mon Sep 17 00:00:00 2001 From: gengliqi Date: Wed, 16 Jul 2025 22:23:57 +0800 Subject: [PATCH 2/3] 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 5b3ea7e84fea6..d2a3cf03c80a4 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4088,7 +4088,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 14d19799d42f8da18a8860e5d0b46fc6549bb3d1 Mon Sep 17 00:00:00 2001 From: Liqi Geng Date: Wed, 16 Jul 2025 22:24:37 +0800 Subject: [PATCH 3/3] 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 d2a3cf03c80a4..120473fad4a87 100644 --- a/system-variables.md +++ b/system-variables.md @@ -4081,7 +4081,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