This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 672fc0a4870 Update dist variable related document (#24595)
672fc0a4870 is described below
commit 672fc0a48703d90d95a1dac28f4403dd299bcf00
Author: ChenJiaHao <[email protected]>
AuthorDate: Tue Mar 14 18:53:49 2023 +0800
Update dist variable related document (#24595)
* Update dist variable related document
* fix
---
.../distsql/syntax/ral/set-dist-vairable.cn.md | 2 ++
.../distsql/syntax/ral/set-dist-vairable.en.md | 4 +++-
.../distsql/syntax/ral/show-dist-variable.cn.md | 12 +++++++-----
.../distsql/syntax/ral/show-dist-variable.en.md | 12 +++++++-----
4 files changed, 19 insertions(+), 11 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.cn.md
index 873e425eccf..e274e0c7e11 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.cn.md
@@ -41,6 +41,8 @@ agentPluginsEnable ::=
- `agent_plugins_enable` 为 `agent` 插件的启用状态,默认值 `FALSE`
+- `system_log_level` 为 系统日志等级,仅影响 `PROXY` 的日志打印,默认值 `INFO`
+
### 示例
- 设置 `Proxy` 属性配置
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.en.md
index d4b4228c81a..75cfa68566c 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/set-dist-vairable.en.md
@@ -34,12 +34,14 @@ agentPluginsEnable ::=
### Supplement
-- `proxy_property_name` is one of [properties
configuration](/en/user-manual/shardingsphere-proxy/yaml-config/props/) of
`PROXY`, name is split by underscore
+- `proxy_property_name` is one of [properties
configuration](/en/user-manual/shardingsphere-proxy/yaml-config/props/) of
`PROXY`, name is split by underscore
- `transaction_type` is use to set transaction types for current connection,
supports `LOCAL`, `XA`, `BASE`
- `agent_plugins_enable` is use to set the `agent` plugins enable status, the
default value is `FALSE`
+- `system_log_level` is the system log level, only affects the log printing of
`PROXY`, the default value is `INFO`
+
### Example
- Set property configuration of `Proxy`
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.cn.md
index 32215f9f728..0f634a5bf91 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.cn.md
@@ -48,11 +48,10 @@ mysql> SHOW DIST VARIABLES;
+---------------------------------------+----------------+
| variable_name | variable_value |
+---------------------------------------+----------------+
-| sql_show | false |
-| sql_simple | false |
+| system_log_level | INFO |
| kernel_executor_size | 0 |
| max_connections_size_per_query | 1 |
-| check_table_metadata_enabled | false |
+| check_table_meta_data_enabled | false |
| sql_federation_type | NONE |
| proxy_frontend_database_protocol_type | |
| proxy_frontend_flush_threshold | 128 |
@@ -65,12 +64,15 @@ mysql> SHOW DIST VARIABLES;
| proxy_default_port | 3307 |
| proxy_netty_backlog | 1024 |
| proxy_instance_type | Proxy |
-| proxy_metadata_collector_enabled | false |
+| cdc_server_port | 33071 |
+| proxy_meta_data_collector_enabled | true |
| agent_plugins_enabled | true |
| cached_connections | 0 |
| transaction_type | LOCAL |
+| sql_show | false |
+| sql_simple | false |
+---------------------------------------+----------------+
-21 rows in set (0.01 sec)
+23 rows in set (0.01 sec)
```
- 查询指定 `PROXY` 系统变量配置
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.en.md
index 3b2ec1ab6d1..bc52cd7d49d 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/ral/show-dist-variable.en.md
@@ -48,11 +48,10 @@ mysql> SHOW DIST VARIABLES;
+---------------------------------------+----------------+
| variable_name | variable_value |
+---------------------------------------+----------------+
-| sql_show | false |
-| sql_simple | false |
+| system_log_level | INFO |
| kernel_executor_size | 0 |
| max_connections_size_per_query | 1 |
-| check_table_metadata_enabled | false |
+| check_table_meta_data_enabled | false |
| sql_federation_type | NONE |
| proxy_frontend_database_protocol_type | |
| proxy_frontend_flush_threshold | 128 |
@@ -65,12 +64,15 @@ mysql> SHOW DIST VARIABLES;
| proxy_default_port | 3307 |
| proxy_netty_backlog | 1024 |
| proxy_instance_type | Proxy |
-| proxy_metadata_collector_enabled | false |
+| cdc_server_port | 33071 |
+| proxy_meta_data_collector_enabled | true |
| agent_plugins_enabled | true |
| cached_connections | 0 |
| transaction_type | LOCAL |
+| sql_show | false |
+| sql_simple | false |
+---------------------------------------+----------------+
-21 rows in set (0.01 sec)
+23 rows in set (0.01 sec)
```
- Query specified system variable configuration of `PROXY`