From 283d336dd6b1e47b270cbde0c53ecabcf43d816d Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger Date: Fri, 18 Oct 2024 10:43:55 +0800 Subject: [PATCH 1/3] tiflash: remove deprecated http_port Signed-off-by: Lloyd-Pottiger --- enable-tls-between-components.md | 2 +- tiup/tiup-cluster-topology-reference.md | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/enable-tls-between-components.md b/enable-tls-between-components.md index 4315e517257c..78e9114e0ab0 100644 --- a/enable-tls-between-components.md +++ b/enable-tls-between-components.md @@ -68,7 +68,7 @@ aliases: ['/docs-cn/dev/enable-tls-between-components/','/docs-cn/dev/how-to/sec - TiFlash(从 v4.0.5 版本开始引入) - 在 `tiflash.toml` 文件中设置,将 `http_port` 项改为 `https_port`: + 在 `tiflash.toml` 文件中设置, ```toml [security] diff --git a/tiup/tiup-cluster-topology-reference.md b/tiup/tiup-cluster-topology-reference.md index 8d2c2c9419f5..33efd736eee0 100644 --- a/tiup/tiup-cluster-topology-reference.md +++ b/tiup/tiup-cluster-topology-reference.md @@ -315,7 +315,6 @@ tikv_servers: - `host` - `tcp_port` -- `http_port` - `flash_service_port` - `flash_proxy_port` - `flash_proxy_status_port` From db1aad8d0d6c01214ebbf24a7bdfc54ae1cf322e Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger Date: Fri, 18 Oct 2024 11:50:36 +0800 Subject: [PATCH 2/3] address comments Signed-off-by: Lloyd-Pottiger --- tiup/tiup-cluster-topology-reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiup/tiup-cluster-topology-reference.md b/tiup/tiup-cluster-topology-reference.md index 33efd736eee0..3d63ea4789a8 100644 --- a/tiup/tiup-cluster-topology-reference.md +++ b/tiup/tiup-cluster-topology-reference.md @@ -295,7 +295,7 @@ tikv_servers: - `host`:指定部署到哪台机器,字段值填 IP 地址,不可省略 - `ssh_port`:指定连接目标机器进行操作的时候使用的 SSH 端口,若不指定,则使用 global 区块中的 `ssh_port` -- `tcp_port`:TiFlash TCP 服务的端口,默认 9000 +- `tcp_port`:TiFlash TCP 服务的端口,用于执行测试,默认 9000。自 tiup v1.12.5 起,如果部署的集群版本 >= v7.1.0,则该配置项不生效 - `flash_service_port`:TiFlash 提供服务的端口,TiDB 通过该端口从 TiFlash 读数据,默认 3930 - `metrics_port`:TiFlash 的状态端口,用于输出 metric 数据,默认 8234 - `flash_proxy_port`:内置 TiKV 的端口,默认 20170 From a69b2c8f608711d651526ce314919183bcc8c90e Mon Sep 17 00:00:00 2001 From: Lloyd-Pottiger <60744015+Lloyd-Pottiger@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:55:22 +0800 Subject: [PATCH 3/3] Apply suggestions from code review Co-authored-by: Grace Cai --- enable-tls-between-components.md | 2 +- tiup/tiup-cluster-topology-reference.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/enable-tls-between-components.md b/enable-tls-between-components.md index 78e9114e0ab0..e5c44d888311 100644 --- a/enable-tls-between-components.md +++ b/enable-tls-between-components.md @@ -68,7 +68,7 @@ aliases: ['/docs-cn/dev/enable-tls-between-components/','/docs-cn/dev/how-to/sec - TiFlash(从 v4.0.5 版本开始引入) - 在 `tiflash.toml` 文件中设置, + 在 `tiflash.toml` 文件中设置: ```toml [security] diff --git a/tiup/tiup-cluster-topology-reference.md b/tiup/tiup-cluster-topology-reference.md index 3d63ea4789a8..8287e862f33f 100644 --- a/tiup/tiup-cluster-topology-reference.md +++ b/tiup/tiup-cluster-topology-reference.md @@ -295,7 +295,7 @@ tikv_servers: - `host`:指定部署到哪台机器,字段值填 IP 地址,不可省略 - `ssh_port`:指定连接目标机器进行操作的时候使用的 SSH 端口,若不指定,则使用 global 区块中的 `ssh_port` -- `tcp_port`:TiFlash TCP 服务的端口,用于执行测试,默认 9000。自 tiup v1.12.5 起,如果部署的集群版本 >= v7.1.0,则该配置项不生效 +- `tcp_port`:TiFlash TCP 服务的端口,用于执行内部测试,默认 9000。自 TiUP v1.12.5 起,如果部署的集群版本 >= v7.1.0,则该配置项不生效 - `flash_service_port`:TiFlash 提供服务的端口,TiDB 通过该端口从 TiFlash 读数据,默认 3930 - `metrics_port`:TiFlash 的状态端口,用于输出 metric 数据,默认 8234 - `flash_proxy_port`:内置 TiKV 的端口,默认 20170