You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Effective | Use CLI: `set configuration cluster_name='xxx'`. |
143
143
| 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. |
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Tree/Reference/Common-Config-Manual.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways:
31
31
32
32
+**Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start.
33
33
+**After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart.
34
-
+**hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration` to the IoTDB server by client or session.
34
+
+**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.
35
35
36
36
## 2. Configuration File
37
37
@@ -196,12 +196,12 @@ Different configuration parameters take effect in the following three ways:
| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name)|
205
205
| 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. |
Copy file name to clipboardExpand all lines: src/UserGuide/Master/Tree/Reference/Modify-Config-Manual.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,21 +37,21 @@ load configuration
37
37
```
38
38
# SetConfiguration statement
39
39
```
40
-
set configuration "key1"="value1" "key2"="value2"... (on nodeId)
40
+
set configuration key1 = 'value1' key2 = 'value2'... (on nodeId)
41
41
```
42
42
### Example 1
43
43
```
44
-
set configuration "enable_cross_space_compaction"="false"
44
+
set configuration enable_cross_space_compaction='false'
45
45
```
46
46
To take effect permanently on all nodes in the cluster, set enable_cross_space_compaction to false and write it to iotdb-system.properties.
47
47
### Example 2
48
48
```
49
-
set configuration "enable_cross_space_compaction"="false" "enable_seq_space_compaction"="false" on 1
49
+
set configuration enable_cross_space_compaction='false' enable_seq_space_compaction='false' on 1
50
50
```
51
51
To take effect permanently on the node with nodeId 1, set enable_cross_space_compaction to false, set enable_seq_space_compaction to false, and write it to iotdb-system.properties.
52
52
### Example 3
53
53
```
54
-
set configuration "enable_cross_space_compaction"="false" "timestamp_precision"="ns"
54
+
set configuration enable_cross_space_compaction='false' timestamp_precision='ns'
55
55
```
56
56
To take effect permanently on all nodes in the cluster, set enable_cross_space_compaction to false, timestamp_precision to ns, and write it to iotdb-system.properties. However, timestamp_precision is a configuration item that cannot be modified after the first startup, so the update of this configuration item will be ignored and the return is as follows.
57
57
```
@@ -63,7 +63,7 @@ Configuration items that support hot reloading and take effect immediately are m
63
63
Example
64
64
```
65
65
# Used for indicate cluster name and distinguish different cluster.
66
-
# If you need to modify the cluster name, it's recommended to use 'set configuration "cluster_name=xxx"' sql.
66
+
# If you need to modify the cluster name, it's recommended to use [set configuration cluster_name='xxx'] sql.
67
67
# Manually modifying configuration file is not recommended, which may cause node restart fail.
Copy file name to clipboardExpand all lines: src/UserGuide/V1.3.x/Reference/Common-Config-Manual.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Different configuration parameters take effect in the following three ways:
31
31
32
32
+**Only allowed to be modified in first start up:** Can't be modified after first start, otherwise the ConfigNode/DataNode cannot start.
33
33
+**After restarting system:** Can be modified after the ConfigNode/DataNode first start, but take effect after restart.
34
-
+**hot-load:** Can be modified while the ConfigNode/DataNode is running, and trigger through sending the command(sql) `load configuration` or `set configuration` to the IoTDB server by client or session.
34
+
+**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.
35
35
36
36
## Configuration File
37
37
@@ -196,12 +196,12 @@ Different configuration parameters take effect in the following three ways:
| Effective | Execute SQL in CLI: ```set configuration cluster_name='xxx'``` (xxx is the new cluster name)|
205
205
| 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. |
Copy file name to clipboardExpand all lines: src/UserGuide/V1.3.x/Reference/Modify-Config-Manual.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,21 +37,21 @@ load configuration
37
37
```
38
38
# SetConfiguration statement
39
39
```
40
-
set configuration "key1"="value1" "key2"="value2"... (on nodeId)
40
+
set configuration key1 = 'value1' key2 = 'value2'... (on nodeId)
41
41
```
42
42
### Example 1
43
43
```
44
-
set configuration "enable_cross_space_compaction"="false"
44
+
set configuration enable_cross_space_compaction='false'
45
45
```
46
46
To take effect permanently on all nodes in the cluster, set enable_cross_space_compaction to false and write it to iotdb-system.properties.
47
47
### Example 2
48
48
```
49
-
set configuration "enable_cross_space_compaction"="false" "enable_seq_space_compaction"="false" on 1
49
+
set configuration enable_cross_space_compaction='false' enable_seq_space_compaction='false' on 1
50
50
```
51
51
To take effect permanently on the node with nodeId 1, set enable_cross_space_compaction to false, set enable_seq_space_compaction to false, and write it to iotdb-system.properties.
52
52
### Example 3
53
53
```
54
-
set configuration "enable_cross_space_compaction"="false" "timestamp_precision"="ns"
54
+
set configuration enable_cross_space_compaction='false' timestamp_precision='ns'
55
55
```
56
56
To take effect permanently on all nodes in the cluster, set enable_cross_space_compaction to false, timestamp_precision to ns, and write it to iotdb-system.properties. However, timestamp_precision is a configuration item that cannot be modified after the first startup, so the update of this configuration item will be ignored and the return is as follows.
57
57
```
@@ -63,7 +63,7 @@ Configuration items that support hot reloading and take effect immediately are m
63
63
Example
64
64
```
65
65
# Used for indicate cluster name and distinguish different cluster.
66
-
# If you need to modify the cluster name, it's recommended to use 'set configuration "cluster_name=xxx"' sql.
66
+
# If you need to modify the cluster name, it's recommended to use [set configuration cluster_name='xxx'] sql.
67
67
# Manually modifying configuration file is not recommended, which may cause node restart fail.
0 commit comments