neuyilan commented on a change in pull request #2740:
URL: https://github.com/apache/iotdb/pull/2740#discussion_r585300917



##########
File path: cluster/src/assembly/resources/conf/iotdb-cluster.properties
##########
@@ -17,36 +17,40 @@
 # under the License.
 #
 
-cluster_rpc_ip=127.0.0.1
-
 
#-------------------------------------------IMPORTANT---------------------------------------------#
-# Note that the system will automatically create a heartbeat port for each 
metadata service       #
+# 1. Note that the system will automatically create a heartbeat port for each 
metadata service    #
 # and data service. The default metadata heartbeat port is internal_meta_port 
+ 1,                #
 # The default data heartbeat port is internal_data_port + 1.                   
                   #
 # So when you configure these two items and seed_nodes, pay attention to 
reserve a port for       #
 # heartbeat service.                                                           
                   #
+# 2. If open_server_rpc_port is set to true, the server module's RPC port will 
be turned on,      #
+# and the server module's RPC port will be set to rpc_port (in 
iotdb-engines.properties) + 1,     #
+# so this port should also be reserved.                                        
                   #
 
#-------------------------------------------IMPORTANT---------------------------------------------#
 

Review comment:
       added

##########
File path: cluster/src/assembly/resources/conf/iotdb-cluster.properties
##########
@@ -17,36 +17,40 @@
 # under the License.
 #
 
-cluster_rpc_ip=127.0.0.1
-
 
#-------------------------------------------IMPORTANT---------------------------------------------#
-# Note that the system will automatically create a heartbeat port for each 
metadata service       #
+# 1. Note that the system will automatically create a heartbeat port for each 
metadata service    #
 # and data service. The default metadata heartbeat port is internal_meta_port 
+ 1,                #
 # The default data heartbeat port is internal_data_port + 1.                   
                   #
 # So when you configure these two items and seed_nodes, pay attention to 
reserve a port for       #
 # heartbeat service.                                                           
                   #
+# 2. If open_server_rpc_port is set to true, the server module's RPC port will 
be turned on,      #
+# and the server module's RPC port will be set to rpc_port (in 
iotdb-engines.properties) + 1,     #
+# so this port should also be reserved.                                        
                   #
 
#-------------------------------------------IMPORTANT---------------------------------------------#
 
+internal_ip=127.0.0.1
+
 # port for metadata service
 internal_meta_port=9003
 
 # port for data service
 internal_data_port=40010
 
-# port for client service
-cluster_rpc_port=55560
+# whether open port for server module (for debug purpose)
+# if true, the single's server rpc_port will be changed to rpc_port (in 
iotdb-engines.properties) + 1
+open_server_rpc_port=false
 
-# comma-separated {IP/DOMAIN}:meta_port:data_port:client_port pairs
-# when used by start-node.sh(.bat), this configuration means the nodes that 
will form the initial
-# cluster, some every node that use start-node.sh(.bat) should have the SAME 
SEED_NODES, or the
+# comma-separated {IP/DOMAIN}:meta_port pairs, when used by 
start-node.sh(.bat),
+# this configuration means the nodes that will form the initial cluster,
+# some every node that use start-node.sh(.bat) should have the SAME 
SEED_NODES, or the

Review comment:
       thanks




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to