SteveYurongSu commented on code in PR #11222:
URL: https://github.com/apache/iotdb/pull/11222#discussion_r1339497313


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/task/subtask/processor/PipeProcessorSubtask.java:
##########
@@ -112,11 +112,13 @@ protected synchronized boolean executeOnce() throws 
Exception {
 
       releaseLastEvent(true);
     } catch (Exception e) {
-      throw new PipeException(
-          "Error occurred during executing PipeProcessor#process, perhaps need 
to check "
-              + "whether the implementation of PipeProcessor is correct "
-              + "according to the pipe-api description.",
-          e);
+      if (!isClosed.get()) {
+        throw new PipeException(
+            "Error occurred during executing PipeProcessor#process, perhaps 
need to check "
+                + "whether the implementation of PipeProcessor is correct "
+                + "according to the pipe-api description.",
+            e);
+      }

Review Comment:
   else ..



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to