SteveYurongSu commented on a change in pull request #2352:
URL: https://github.com/apache/iotdb/pull/2352#discussion_r556212507



##########
File path: server/src/main/java/org/apache/iotdb/db/service/TSServiceImpl.java
##########
@@ -1573,7 +1604,10 @@ private TSStatus onQueryException(Exception e, String 
operation) {
   }
 
   private TSStatus tryCatchQueryException(Exception e) {
-    if (e instanceof ParseCancellationException) {
+    if (e instanceof QueryTimeoutRuntimeException && Thread.interrupted()) {
+      // do nothing, just recover the state of thread here
+      LOGGER.error("Recover the state of the thread interrupted", e);

Review comment:
       Use `DETAILED_FAILURE_QUERY_TRACE_LOGGER` instead ?




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