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 2021/11/08 09:18:23 UTC

[GitHub] [iotdb] HTHou commented on a change in pull request #4336: [To rel/0.12][IOTDB-1958] Add storage group not ready exception

HTHou commented on a change in pull request #4336:
URL: https://github.com/apache/iotdb/pull/4336#discussion_r744532584



##########
File path: server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
##########
@@ -1944,10 +1943,12 @@ private TSStatus tryCatchNonQueryException(Exception e) {
       LOGGER.warn(message, e);
       return RpcUtils.getStatus(Arrays.asList(((BatchProcessException) e).getFailingStatus()));
     } else if (e instanceof IoTDBException) {
-      if (((IoTDBException) e).isUserException()) {
-        LOGGER.warn(message + e.getMessage());
-      } else {
-        LOGGER.warn(message, e);
+      if (!(e instanceof StorageGroupNotReadyException)) {

Review comment:
       } else if (e instanceof IoTDBException && !(e instanceof StorageGroupNotReadyException)) {




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