This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new a1fae4a Remove datanode only by node id & Edit cluster name (#293)
a1fae4a is described below
commit a1fae4ad5de68739a5fd5afeeb37b356aead52ad
Author: Li Yu Heng <[email protected]>
AuthorDate: Fri Aug 2 16:24:50 2024 +0800
Remove datanode only by node id & Edit cluster name (#293)
* set cluster name
* done
* more
* revert sth
* done?
* done?
* revert
* revert
---
src/UserGuide/Master/Reference/Common-Config-Manual.md | 10 ++++++++++
src/zh/UserGuide/Master/Reference/Common-Config-Manual.md | 10 ++++++++++
2 files changed, 20 insertions(+)
diff --git a/src/UserGuide/Master/Reference/Common-Config-Manual.md
b/src/UserGuide/Master/Reference/Common-Config-Manual.md
index e4d5eb1..82fbf11 100644
--- a/src/UserGuide/Master/Reference/Common-Config-Manual.md
+++ b/src/UserGuide/Master/Reference/Common-Config-Manual.md
@@ -194,6 +194,16 @@ Different configuration parameters take effect in the
following three ways:
### Cluster Management
+* cluster\_name
+
+| Name | cluster\_name
|
+|:-----------:|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 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)
|
+| 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 [...]
+
* time\_partition\_interval
| Name | time\_partition\_interval |
diff --git a/src/zh/UserGuide/Master/Reference/Common-Config-Manual.md
b/src/zh/UserGuide/Master/Reference/Common-Config-Manual.md
index e17cfba..dc2cd6b 100644
--- a/src/zh/UserGuide/Master/Reference/Common-Config-Manual.md
+++ b/src/zh/UserGuide/Master/Reference/Common-Config-Manual.md
@@ -196,6 +196,16 @@ IoTDB ConfigNode 和 DataNode 的公共配置参数位于 `conf` 目录下。
#### 集群管理
+* cluster\_name
+
+| 名字 | cluster\_name
|
+|:----:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 描述 | 集群名称
|
+| 类型 | String
|
+| 默认值 | default_cluster
|
+| 修改方式 | CLI 中执行语句 ```set configuration "cluster_name"="xxx"```
(xxx为希望修改成的集群名称)
|
+| 注意 |
此修改通过网络分发至每个节点。在网络波动或者有节点宕机的情况下,不保证能够在全部节点修改成功。未修改成功的节点重启时无法加入集群,此时需要手动修改该节点的配置文件中的cluster_name项,再重启。正常情况下,不建议通过手动修改配置文件的方式修改集群名称,不建议通过```load
configuration```的方式热加载。 |
+
* time\_partition\_interval
| 名字 | time\_partition\_interval |