From 46210cc85d3c415a24f874f0bb98daebe16dbc49 Mon Sep 17 00:00:00 2001 From: Lux Date: Fri, 13 Oct 2023 06:09:28 -0500 Subject: [PATCH] add the unsupported note to `require_secure_transport` (#15034) --- system-variables.md | 6 +++++- tidb-cloud/limited-sql-features.md | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/system-variables.md b/system-variables.md index dd76054893e74..5597a6aa05806 100644 --- a/system-variables.md +++ b/system-variables.md @@ -738,10 +738,14 @@ mysql> SHOW GLOBAL VARIABLES LIKE 'max_prepared_stmt_count'; ### require_secure_transport New in v6.1.0 +> **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 a future release. + - Scope: GLOBAL - Persists to cluster: Yes - Type: Boolean -- Default value: `OFF` +- 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) diff --git a/tidb-cloud/limited-sql-features.md b/tidb-cloud/limited-sql-features.md index daf6f21a81f98..f330c4bc74465 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] | 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] | @@ -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]: Not supported. Enabling `require_secure_transport` for TiDB Dedicated clusters will result in SQL client connection failures.