curcur commented on a change in pull request #12525:
URL: https://github.com/apache/flink/pull/12525#discussion_r439183783



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -646,10 +653,14 @@ protected void cleanUpInvoke() throws Exception {
                try {
                        channelIOExecutor.shutdown();
                } catch (Throwable t) {
-                       LOG.error("Error during shutdown the channel state 
unspill executor", t);
+                       suppressedThrowable = 
ExceptionUtils.firstOrSuppressed(t, suppressedThrowable);
                }
 
                mailboxProcessor.close();
+
+               if (suppressedThrowable != null) {
+                       throw (Exception) suppressedThrowable;

Review comment:
       It does not, but have to be transmitted to Exception either here or in 
the function that caught it (outside this function).




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to