You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/10/26 03:43:20 UTC

[GitHub] [iotdb] CRZbulabula commented on a diff in pull request #7729: [IOTDB-4713] Log TException in ConfigNodeClient

CRZbulabula commented on code in PR #7729:
URL: https://github.com/apache/iotdb/pull/7729#discussion_r1005187904


##########
server/src/main/java/org/apache/iotdb/db/client/ConfigNodeClient.java:
##########
@@ -441,9 +486,13 @@ public TStorageGroupSchemaResp getMatchedStorageGroupSchemas(List<String> storag
           return resp;
         }
       } catch (TException e) {
+        logger.warn(
+            "Failed to connect to ConfigNode {} from DataNode {} when executing {}",
+            configNode,
+            config.getAddressAndPort(),
+            Thread.currentThread().getStackTrace()[1].getMethodName());
         configLeader = null;
       }
-      reconnect();

Review Comment:
   Why getMatchedStorageGroupSchemas is different from other interfaces in this line?



-- 
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-unsubscribe@iotdb.apache.org

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