From 2ed1d5cbb6690154ee806c9973551d2e028aee72 Mon Sep 17 00:00:00 2001 From: Lux Date: Thu, 12 Oct 2023 07:48:30 -0500 Subject: [PATCH 01/10] Update system-variables.md --- system-variables.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system-variables.md b/system-variables.md index dd76054893e74..0d0137fa798b9 100644 --- a/system-variables.md +++ b/system-variables.md @@ -738,6 +738,11 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; ### require_secure_transport New in v6.1.0 +> **Note:** +> +> This variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). +> If you open it, it may cause the SQL client to fail to connect to the cluster. + - Scope: GLOBAL - Persists to cluster: Yes - Type: Boolean From 2a4900a08125dfc926d83f510e7af2d3c68e13f5 Mon Sep 17 00:00:00 2001 From: Lux Date: Thu, 12 Oct 2023 08:11:31 -0500 Subject: [PATCH 02/10] Update limited-sql-features.md --- tidb-cloud/limited-sql-features.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tidb-cloud/limited-sql-features.md b/tidb-cloud/limited-sql-features.md index daf6f21a81f98..35fc958558cee 100644 --- a/tidb-cloud/limited-sql-features.md +++ b/tidb-cloud/limited-sql-features.md @@ -134,6 +134,7 @@ TiDB Cloud works with almost all workloads that TiDB supports, but there are som | `max_allowed_packet` | No limitation | Read-only [^11] | | `plugin_dir` | No limitation | Not supported [^8] | | `plugin_load` | No limitation | Not supported [^8] | +| `require_secure_transport` | Not supported [^13] | No limitation | | `skip_name_resolve` | No limitation | Read-only [^11] | | `sql_log_bin` | No limitation | Read-only [^11] | | `tidb_cdc_write_source` | No limitation | Read-only [^11] | @@ -246,3 +247,5 @@ TiDB Cloud works with almost all workloads that TiDB supports, but there are som [^11]: The variable is read-only on TiDB Serverless. [^12]: Customizing cache size using [`AUTO_ID_CACHE`](/auto-increment.md#cache-size-control) is temporarily unavailable on TiDB Serverless. + +[^13]: Enabling it for TiDB Dedicated clusters will result in SQL client connection failures. From 7e376f225a40e403e5c51ec7198754c52109a607 Mon Sep 17 00:00:00 2001 From: Lux Date: Thu, 12 Oct 2023 21:07:23 -0500 Subject: [PATCH 03/10] Update limited-sql-features.md --- tidb-cloud/limited-sql-features.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidb-cloud/limited-sql-features.md b/tidb-cloud/limited-sql-features.md index 35fc958558cee..572947bb4e0d4 100644 --- a/tidb-cloud/limited-sql-features.md +++ b/tidb-cloud/limited-sql-features.md @@ -134,7 +134,7 @@ TiDB Cloud works with almost all workloads that TiDB supports, but there are som | `max_allowed_packet` | No limitation | Read-only [^11] | | `plugin_dir` | No limitation | Not supported [^8] | | `plugin_load` | No limitation | Not supported [^8] | -| `require_secure_transport` | Not supported [^13] | No limitation | +| `require_secure_transport` | Not supported [^13] | Read-only [^11] | | `skip_name_resolve` | No limitation | Read-only [^11] | | `sql_log_bin` | No limitation | Read-only [^11] | | `tidb_cdc_write_source` | No limitation | Read-only [^11] | @@ -248,4 +248,4 @@ TiDB Cloud works with almost all workloads that TiDB supports, but there are som [^12]: Customizing cache size using [`AUTO_ID_CACHE`](/auto-increment.md#cache-size-control) is temporarily unavailable on TiDB Serverless. -[^13]: Enabling it for TiDB Dedicated clusters will result in SQL client connection failures. +[^13]: Not supported. Enabling it for TiDB Dedicated clusters will result in SQL client connection failures. From 81b0dc8e6b284fefcb991c08fe74797d9c0b34df Mon Sep 17 00:00:00 2001 From: Lux Date: Thu, 12 Oct 2023 21:24:12 -0500 Subject: [PATCH 04/10] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index 0d0137fa798b9..bb4aba6b89b85 100644 --- a/system-variables.md +++ b/system-variables.md @@ -741,7 +741,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; > **Note:** > > This variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). -> If you open it, it may cause the SQL client to fail to connect to the cluster. +> If you open it, it may cause the SQL client to fail to connect to the TiDB Dedicated cluster. - Scope: GLOBAL - Persists to cluster: Yes From 0b8cc151fe24b7386b0e55df91b4089fb68742e0 Mon Sep 17 00:00:00 2001 From: Lux Date: Fri, 13 Oct 2023 04:28:00 -0500 Subject: [PATCH 05/10] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index bb4aba6b89b85..ecc2b92165393 100644 --- a/system-variables.md +++ b/system-variables.md @@ -746,7 +746,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; - Scope: GLOBAL - Persists to cluster: Yes - Type: Boolean -- Default value: `OFF` +- Default value: `OFF` for TiDB Self-Hosted and TiDB Dedicated, `ON` for TiDB Serverless From 31a5d6dfa5a7bf771696ca6231cf72be3ac06755 Mon Sep 17 00:00:00 2001 From: Lux Date: Fri, 13 Oct 2023 04:28:54 -0500 Subject: [PATCH 06/10] Update system-variables.md Co-authored-by: Grace Cai --- system-variables.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system-variables.md b/system-variables.md index ecc2b92165393..d9f51103434a9 100644 --- a/system-variables.md +++ b/system-variables.md @@ -740,8 +740,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; > **Note:** > -> This variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). -> If you open it, it may cause the SQL client to fail to connect to the TiDB Dedicated cluster. +> This variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). DO **NOT** enable this variable for TiDB Dedicated clusters. Otherwise, you might get SQL client connection failures. - Scope: GLOBAL - Persists to cluster: Yes From e79152a8e6fa55889c8535edd99d4de5091f6ff5 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Fri, 13 Oct 2023 17:37:58 +0800 Subject: [PATCH 07/10] add links --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index d9f51103434a9..b9a9e4a378aee 100644 --- a/system-variables.md +++ b/system-variables.md @@ -745,7 +745,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; - Scope: GLOBAL - Persists to cluster: Yes - Type: Boolean -- Default value: `OFF` for TiDB Self-Hosted and TiDB Dedicated, `ON` for TiDB Serverless +- Default value: `OFF` for TiDB Self-Hosted and [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated), `ON` for [TiDB Serverless](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-serverless) From e7a160e7583393ce23a4f2008bfbdcaa99e1e69f Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Fri, 13 Oct 2023 17:38:55 +0800 Subject: [PATCH 08/10] wording updates --- tidb-cloud/limited-sql-features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/limited-sql-features.md b/tidb-cloud/limited-sql-features.md index 572947bb4e0d4..f330c4bc74465 100644 --- a/tidb-cloud/limited-sql-features.md +++ b/tidb-cloud/limited-sql-features.md @@ -248,4 +248,4 @@ TiDB Cloud works with almost all workloads that TiDB supports, but there are som [^12]: Customizing cache size using [`AUTO_ID_CACHE`](/auto-increment.md#cache-size-control) is temporarily unavailable on TiDB Serverless. -[^13]: Not supported. Enabling it for TiDB Dedicated clusters will result in SQL client connection failures. +[^13]: Not supported. Enabling `require_secure_transport` for TiDB Dedicated clusters will result in SQL client connection failures. From beea77f2a6844cdea90c944132fef5525de260ba Mon Sep 17 00:00:00 2001 From: long0712 <87366891+ljun0712@users.noreply.github.com> Date: Fri, 13 Oct 2023 18:08:33 +0800 Subject: [PATCH 09/10] Update system-variables.md Co-authored-by: Grace Cai --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index b9a9e4a378aee..efa6273062c6c 100644 --- a/system-variables.md +++ b/system-variables.md @@ -740,7 +740,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; > **Note:** > -> This variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). DO **NOT** enable this variable for TiDB Dedicated clusters. Otherwise, you might get SQL client connection failures. +> Currently, this variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). DO **NOT** enable this variable for TiDB Dedicated clusters. Otherwise, you might get SQL client connection failures. This restriction is a temporary control measure and will be resolved in the future release. - Scope: GLOBAL - Persists to cluster: Yes From c9c0a88044533ccbf26ad32c8431bfe4343a2204 Mon Sep 17 00:00:00 2001 From: Grace Cai Date: Fri, 13 Oct 2023 18:11:35 +0800 Subject: [PATCH 10/10] Update system-variables.md --- system-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index efa6273062c6c..5597a6aa05806 100644 --- a/system-variables.md +++ b/system-variables.md @@ -740,7 +740,7 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; > **Note:** > -> Currently, this variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). DO **NOT** enable this variable for TiDB Dedicated clusters. Otherwise, you might get SQL client connection failures. This restriction is a temporary control measure and will be resolved in the future release. +> Currently, this variable is not supported on [TiDB Dedicated](https://docs.pingcap.com/tidbcloud/select-cluster-tier#tidb-dedicated). DO **NOT** enable this variable for TiDB Dedicated clusters. Otherwise, you might get SQL client connection failures. This restriction is a temporary control measure and will be resolved in a future release. - Scope: GLOBAL - Persists to cluster: Yes