From 0bed4031c8f20ee02b2e8ea71901900f26d77e42 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Mon, 11 Aug 2025 09:51:07 +0800 Subject: [PATCH 1/2] fix-set-configuration-syntax-in-config-manual --- src/UserGuide/Master/Table/Reference/System-Config-Manual.md | 4 ++-- src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md | 4 ++-- src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md | 4 ++-- src/UserGuide/dev-1.3/Reference/Common-Config-Manual.md | 4 ++-- src/UserGuide/latest-Table/Reference/System-Config-Manual.md | 4 ++-- src/UserGuide/latest/Reference/Common-Config-Manual.md | 4 ++-- .../UserGuide/Master/Table/Reference/System-Config-Manual.md | 4 ++-- .../UserGuide/Master/Tree/Reference/Common-Config-Manual.md | 4 ++-- src/zh/UserGuide/V1.3.x/Reference/Common-Config-Manual.md | 4 ++-- src/zh/UserGuide/dev-1.3/Reference/Common-Config-Manual.md | 4 ++-- .../UserGuide/latest-Table/Reference/System-Config-Manual.md | 4 ++-- src/zh/UserGuide/latest/Reference/Common-Config-Manual.md | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md index c0b89501f..ba613394f 100644 --- a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -62,7 +62,7 @@ Different configuration parameters have different update methods, categorized as 1. These parameters can be modified while ConfigNode/DataNode is running. 2. After modification, use the following SQL commands to apply the changes: - `load configuration`: Reloads the configuration. - - `set configuration key1 = 'value1'`: Updates specific configuration parameters. + - `set configuration 'key1' = 'value1'`: Updates specific configuration parameters. ## 3. Environment Parameters @@ -139,7 +139,7 @@ The `iotdb-system.properties` file contains various configurations for managing | Description | Name of the cluster. | | Type | String | | Default | default_cluster | -| Effective | Use CLI: `set configuration cluster_name='xxx'`. | +| Effective | Use CLI: `set configuration 'cluster_name'='xxx'`. | | Note | Changes are distributed across nodes. Changes may not propagate to all nodes in case of network issues or node failures. Nodes that fail to update must manually modify `cluster_name` in their configuration files and restart. Under normal circumstances, it is not recommended to modify `cluster_name` by manually modifying configuration files or to perform hot-loading via `load configuration` method. | ### 4.2 Seed ConfigNode diff --git a/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md b/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md index dd3600c4e..e8ca5ced0 100644 --- a/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md +++ b/src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md @@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways: + **Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start. + **After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart. -+ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration key1 = 'value1'` to the IoTDB server by client or session. ++ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration 'key1' = 'value1'` to the IoTDB server by client or session. ## 2. Configuration File @@ -201,7 +201,7 @@ Different configuration parameters take effect in the following three ways: | Description | The name of cluster | | Type | String | | Default | default_cluster | -| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name) | +| Effective | Execute SQL in CLI: ```set configuration 'cluster_name'='xxx'``` (xxx is the new cluster name) | | Attention | This change is distributed to each node through the network. In the event of network fluctuations or node downtime, it is not guaranteed that the modification will be successful on all nodes. Nodes that fail to modify will not be able to join the cluster upon restart. At this time, it is necessary to manually modify the cluster_name item in the configuration file of the node, and then restart. Under normal circumstances, it is not recommended to change the cluster name by manually modifying the configuration file, nor is it recommended to hot load through the load configuration method. | * time\_partition\_interval diff --git a/src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md b/src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md index 67f2942aa..104b28b08 100644 --- a/src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md +++ b/src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md @@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways: + **Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start. + **After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart. -+ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration key1 = 'value1'` to the IoTDB server by client or session. ++ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration 'key1' = 'value1'` to the IoTDB server by client or session. ## Configuration File @@ -201,7 +201,7 @@ Different configuration parameters take effect in the following three ways: | Description | The name of cluster | | Type | String | | Default | default_cluster | -| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name) | +| Effective | Execute SQL in CLI: ```set configuration 'cluster_name'='xxx'``` (xxx is the new cluster name) | | Attention | This change is distributed to each node through the network. In the event of network fluctuations or node downtime, it is not guaranteed that the modification will be successful on all nodes. Nodes that fail to modify will not be able to join the cluster upon restart. At this time, it is necessary to manually modify the cluster_name item in the configuration file of the node, and then restart. Under normal circumstances, it is not recommended to change the cluster name by manually modifying the configuration file, nor is it recommended to hot load through the load configuration method. | * time\_partition\_interval diff --git a/src/UserGuide/dev-1.3/Reference/Common-Config-Manual.md b/src/UserGuide/dev-1.3/Reference/Common-Config-Manual.md index 17c967851..5c7125d69 100644 --- a/src/UserGuide/dev-1.3/Reference/Common-Config-Manual.md +++ b/src/UserGuide/dev-1.3/Reference/Common-Config-Manual.md @@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways: + **Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start. + **After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart. -+ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration key1 = 'value1'` to the IoTDB server by client or session. ++ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration 'key1' = 'value1'` to the IoTDB server by client or session. ## Configuration File @@ -201,7 +201,7 @@ Different configuration parameters take effect in the following three ways: | Description | The name of cluster | | Type | String | | Default | default_cluster | -| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name) | +| Effective | Execute SQL in CLI: ```set configuration 'cluster_name'='xxx'``` (xxx is the new cluster name) | | Attention | This change is distributed to each node through the network. In the event of network fluctuations or node downtime, it is not guaranteed that the modification will be successful on all nodes. Nodes that fail to modify will not be able to join the cluster upon restart. At this time, it is necessary to manually modify the cluster_name item in the configuration file of the node, and then restart. Under normal circumstances, it is not recommended to change the cluster name by manually modifying the configuration file, nor is it recommended to hot load through the load configuration method. | * time\_partition\_interval diff --git a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md index c0b89501f..ba613394f 100644 --- a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -62,7 +62,7 @@ Different configuration parameters have different update methods, categorized as 1. These parameters can be modified while ConfigNode/DataNode is running. 2. After modification, use the following SQL commands to apply the changes: - `load configuration`: Reloads the configuration. - - `set configuration key1 = 'value1'`: Updates specific configuration parameters. + - `set configuration 'key1' = 'value1'`: Updates specific configuration parameters. ## 3. Environment Parameters @@ -139,7 +139,7 @@ The `iotdb-system.properties` file contains various configurations for managing | Description | Name of the cluster. | | Type | String | | Default | default_cluster | -| Effective | Use CLI: `set configuration cluster_name='xxx'`. | +| Effective | Use CLI: `set configuration 'cluster_name'='xxx'`. | | Note | Changes are distributed across nodes. Changes may not propagate to all nodes in case of network issues or node failures. Nodes that fail to update must manually modify `cluster_name` in their configuration files and restart. Under normal circumstances, it is not recommended to modify `cluster_name` by manually modifying configuration files or to perform hot-loading via `load configuration` method. | ### 4.2 Seed ConfigNode diff --git a/src/UserGuide/latest/Reference/Common-Config-Manual.md b/src/UserGuide/latest/Reference/Common-Config-Manual.md index 10095fd02..68e8eef0d 100644 --- a/src/UserGuide/latest/Reference/Common-Config-Manual.md +++ b/src/UserGuide/latest/Reference/Common-Config-Manual.md @@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways: + **Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start. + **After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart. -+ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration key1 = 'value1'` to the IoTDB server by client or session. ++ **hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration 'key1' = 'value1'` to the IoTDB server by client or session. ## 2. Configuration File @@ -201,7 +201,7 @@ Different configuration parameters take effect in the following three ways: | Description | The name of cluster | | Type | String | | Default | default_cluster | -| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name) | +| Effective | Execute SQL in CLI: ```set configuration 'cluster_name'='xxx'``` (xxx is the new cluster name) | | Attention | This change is distributed to each node through the network. In the event of network fluctuations or node downtime, it is not guaranteed that the modification will be successful on all nodes. Nodes that fail to modify will not be able to join the cluster upon restart. At this time, it is necessary to manually modify the cluster_name item in the configuration file of the node, and then restart. Under normal circumstances, it is not recommended to change the cluster name by manually modifying the configuration file, nor is it recommended to hot load through the load configuration method. | * time\_partition\_interval diff --git a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md index e0a191f78..4c4ce1768 100644 --- a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -38,7 +38,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - 仅允许在第一次启动服务前修改: 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 - 重启服务生效: ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 +- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ## 2. 环境配置项 @@ -116,7 +116,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 `set configuration cluster_name='xxx'` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 `set configuration 'cluster_name'='xxx'` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过`load configuration`的方式热加载。 | ### 3.2 SeedConfigNode 配置 diff --git a/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md b/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md index 058473fa0..3ebffd6ac 100644 --- a/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/Master/Tree/Reference/Common-Config-Manual.md @@ -32,7 +32,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 + **仅允许在第一次启动服务前修改:** 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 + **重启服务生效:** ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -+ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ++ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ### 1.2 系统配置项 @@ -203,7 +203,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 ```set configuration cluster_name='xxx'``` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 ```set configuration 'cluster_name'='xxx'``` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过```load configuration```的方式热加载。 | * time\_partition\_interval diff --git a/src/zh/UserGuide/V1.3.x/Reference/Common-Config-Manual.md b/src/zh/UserGuide/V1.3.x/Reference/Common-Config-Manual.md index e4f4c3123..cd9c610cf 100644 --- a/src/zh/UserGuide/V1.3.x/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/V1.3.x/Reference/Common-Config-Manual.md @@ -32,7 +32,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 + **仅允许在第一次启动服务前修改:** 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 + **重启服务生效:** ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -+ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ++ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ### 系统配置项 @@ -203,7 +203,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 ```set configuration cluster_name='xxx'``` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 ```set configuration 'cluster_name'='xxx'``` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过```load configuration```的方式热加载。 | * time\_partition\_interval diff --git a/src/zh/UserGuide/dev-1.3/Reference/Common-Config-Manual.md b/src/zh/UserGuide/dev-1.3/Reference/Common-Config-Manual.md index 81e5cead2..91ec58d2e 100644 --- a/src/zh/UserGuide/dev-1.3/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/dev-1.3/Reference/Common-Config-Manual.md @@ -32,7 +32,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 + **仅允许在第一次启动服务前修改:** 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 + **重启服务生效:** ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -+ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ++ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ### 系统配置项 @@ -203,7 +203,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 ```set configuration cluster_name='xxx'``` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 ```set configuration 'cluster_name'='xxx'``` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过```load configuration```的方式热加载。 | * time\_partition\_interval diff --git a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md index 549f56fe7..ea6f06063 100644 --- a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -38,7 +38,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - 仅允许在第一次启动服务前修改: 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 - 重启服务生效: ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 +- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ## 2. 环境配置项 @@ -116,7 +116,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 `set configuration cluster_name = 'xxx'` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 `set configuration 'cluster_name' = 'xxx'` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过`load configuration`的方式热加载。 | ### 3.2 SeedConfigNode 配置 diff --git a/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md b/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md index 058473fa0..3ebffd6ac 100644 --- a/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md +++ b/src/zh/UserGuide/latest/Reference/Common-Config-Manual.md @@ -32,7 +32,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 + **仅允许在第一次启动服务前修改:** 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 + **重启服务生效:** ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -+ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ++ **热加载:** 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 ```load configuration``` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ### 1.2 系统配置项 @@ -203,7 +203,7 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 ```set configuration cluster_name='xxx'``` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 ```set configuration 'cluster_name'='xxx'``` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过```load configuration```的方式热加载。 | * time\_partition\_interval From ef67536bcc69e77adc91dfcdde1a58bff771e4b7 Mon Sep 17 00:00:00 2001 From: Leto_b Date: Mon, 11 Aug 2025 10:06:50 +0800 Subject: [PATCH 2/2] fix-set-configuration-syntax-in-config-manual --- src/UserGuide/Master/Table/Reference/System-Config-Manual.md | 4 ++-- src/UserGuide/latest-Table/Reference/System-Config-Manual.md | 4 ++-- .../UserGuide/Master/Table/Reference/System-Config-Manual.md | 4 ++-- .../UserGuide/latest-Table/Reference/System-Config-Manual.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md index ba613394f..c0b89501f 100644 --- a/src/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -62,7 +62,7 @@ Different configuration parameters have different update methods, categorized as 1. These parameters can be modified while ConfigNode/DataNode is running. 2. After modification, use the following SQL commands to apply the changes: - `load configuration`: Reloads the configuration. - - `set configuration 'key1' = 'value1'`: Updates specific configuration parameters. + - `set configuration key1 = 'value1'`: Updates specific configuration parameters. ## 3. Environment Parameters @@ -139,7 +139,7 @@ The `iotdb-system.properties` file contains various configurations for managing | Description | Name of the cluster. | | Type | String | | Default | default_cluster | -| Effective | Use CLI: `set configuration 'cluster_name'='xxx'`. | +| Effective | Use CLI: `set configuration cluster_name='xxx'`. | | Note | Changes are distributed across nodes. Changes may not propagate to all nodes in case of network issues or node failures. Nodes that fail to update must manually modify `cluster_name` in their configuration files and restart. Under normal circumstances, it is not recommended to modify `cluster_name` by manually modifying configuration files or to perform hot-loading via `load configuration` method. | ### 4.2 Seed ConfigNode diff --git a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md index ba613394f..c0b89501f 100644 --- a/src/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -62,7 +62,7 @@ Different configuration parameters have different update methods, categorized as 1. These parameters can be modified while ConfigNode/DataNode is running. 2. After modification, use the following SQL commands to apply the changes: - `load configuration`: Reloads the configuration. - - `set configuration 'key1' = 'value1'`: Updates specific configuration parameters. + - `set configuration key1 = 'value1'`: Updates specific configuration parameters. ## 3. Environment Parameters @@ -139,7 +139,7 @@ The `iotdb-system.properties` file contains various configurations for managing | Description | Name of the cluster. | | Type | String | | Default | default_cluster | -| Effective | Use CLI: `set configuration 'cluster_name'='xxx'`. | +| Effective | Use CLI: `set configuration cluster_name='xxx'`. | | Note | Changes are distributed across nodes. Changes may not propagate to all nodes in case of network issues or node failures. Nodes that fail to update must manually modify `cluster_name` in their configuration files and restart. Under normal circumstances, it is not recommended to modify `cluster_name` by manually modifying configuration files or to perform hot-loading via `load configuration` method. | ### 4.2 Seed ConfigNode diff --git a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md index 4c4ce1768..e0a191f78 100644 --- a/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/Master/Table/Reference/System-Config-Manual.md @@ -38,7 +38,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - 仅允许在第一次启动服务前修改: 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 - 重启服务生效: ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 +- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ## 2. 环境配置项 @@ -116,7 +116,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 `set configuration 'cluster_name'='xxx'` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 `set configuration cluster_name='xxx'` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过`load configuration`的方式热加载。 | ### 3.2 SeedConfigNode 配置 diff --git a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md index ea6f06063..549f56fe7 100644 --- a/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md +++ b/src/zh/UserGuide/latest-Table/Reference/System-Config-Manual.md @@ -38,7 +38,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 - 仅允许在第一次启动服务前修改: 在第一次启动 ConfigNode/DataNode 后即禁止修改,修改会导致 ConfigNode/DataNode 无法启动。 - 重启服务生效: ConfigNode/DataNode 启动后仍可修改,但需要重启 ConfigNode/DataNode 后才生效。 -- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration 'key1' = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 +- 热加载: 可在 ConfigNode/DataNode 运行时修改,修改后通过 Session 或 Cli 发送 `load configuration` 或 `set configuration key1 = 'value1'` 命令(SQL)至 IoTDB 使配置生效。 ## 2. 环境配置项 @@ -116,7 +116,7 @@ IoTDB 配置文件位于 IoTDB 安装目录:`conf`文件夹下。 | 描述 | 集群名称 | | 类型 | String | | 默认值 | default_cluster | -| 修改方式 | CLI 中执行语句 `set configuration 'cluster_name' = 'xxx'` (xxx为希望修改成的集群名称) | +| 修改方式 | CLI 中执行语句 `set configuration cluster_name = 'xxx'` (xxx为希望修改成的集群名称) | | 注意 | 此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过`load configuration`的方式热加载。 | ### 3.2 SeedConfigNode 配置