liyuheng55555 commented on code in PR #12165:
URL: https://github.com/apache/iotdb/pull/12165#discussion_r1534980790


##########
integration-test/src/main/java/org/apache/iotdb/it/env/cluster/env/AbstractEnv.java:
##########
@@ -1007,4 +1009,22 @@ public String getToolsPath() {
   public String getLibPath() {
     return TEMPLATE_NODE_LIB_PATH;
   }
+
+  @Override
+  public Optional<DataNodeWrapper> dataNodeIdToWrapper(int nodeId) {
+    try (SyncConfigNodeIServiceClient leaderClient =
+        (SyncConfigNodeIServiceClient) getLeaderConfigNodeConnection()) {
+      TShowDataNodesResp resp = leaderClient.showDataNodes();

Review Comment:
   Because DataNodeWrapper not contains node id



-- 
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: reviews-unsubscr...@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to