neuyilan commented on a change in pull request #5284:
URL: https://github.com/apache/iotdb/pull/5284#discussion_r830427088
##########
File path: confignode/src/assembly/resources/conf/iotdb-confignode.properties
##########
@@ -20,6 +20,22 @@
####################
### DeviceGroup Configuration
####################
+# could set ip or hostname
+# Datatype: String
+config_node_rpc_address=host0
+
+# used for communication between data node and config node
+# Datatype: int
+config_node_rpc_port=22277
+
+# used for communication between data node and data node
+# Datatype: int
+config_node_internal_port=22278
+
Review comment:
Why does the port of datanode communication appear in the confignode
configuration? maybe the comments is error?
```suggestion
# used for communication between config node and config node
# Datatype: int
config_node_internal_port=22278
```
##########
File path: confignode/src/assembly/resources/conf/iotdb-confignode.properties
##########
@@ -20,6 +20,22 @@
####################
### DeviceGroup Configuration
####################
+# could set ip or hostname
+# Datatype: String
+config_node_rpc_address=host0
+
+# used for communication between data node and config node
+# Datatype: int
+config_node_rpc_port=22277
+
+# used for communication between data node and data node
+# Datatype: int
+config_node_internal_port=22278
+
+# all config node address
+# every node should have the same config_node_address_lists
+# Datatype: String
+config_node_address_lists=host0,host1,host2
Review comment:
host0 do not know the `config_node_internal_port` of host1? How do they
communicate with each other?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]