You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/08/01 11:14:45 UTC
[iotdb] branch test_pyt1 updated: Update DataNode.java
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch test_pyt1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/test_pyt1 by this push:
new 0ca38b5eb11 Update DataNode.java
0ca38b5eb11 is described below
commit 0ca38b5eb11cc56ade10e723225072f837335d26
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Aug 1 19:14:39 2023 +0800
Update DataNode.java
---
.../src/main/java/org/apache/iotdb/db/service/DataNode.java | 8 --------
1 file changed, 8 deletions(-)
diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
index 7aa275ae1dc..1230d9be8d2 100644
--- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
+++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/DataNode.java
@@ -207,14 +207,6 @@ public class DataNode implements DataNodeMBean {
// Notice: Consider this DataNode as first start if the system.properties file doesn't exist
boolean isFirstStart = IoTDBStartCheck.getInstance().checkIsFirstStart();
- // Check target ConfigNodes
- for (TEndPoint endPoint : config.getTargetConfigNodeList()) {
- if (endPoint.getIp().equals("0.0.0.0")) {
- throw new StartupException(
- "The ip address of any target_config_node_list couldn't be 0.0.0.0");
- }
- }
-
// Set this node
thisNode.setIp(config.getInternalAddress());
thisNode.setPort(config.getInternalPort());