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



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -692,6 +693,7 @@ private void shutdownAsyncThreads() throws Exception {
         */
        private void disposeAllOperators(boolean logOnlyErrors) throws 
Exception {
                if (operatorChain != null && !disposedOperators) {
+                       Exception disposalException = null;
                        for (StreamOperatorWrapper<?, ?> operatorWrapper : 
operatorChain.getAllOperators(true)) {
                                StreamOperator<?> operator = 
operatorWrapper.getStreamOperator();
                                if (!logOnlyErrors) {

Review comment:
       cc @pnowojski 
   
   whether to merge the `disposeAllOperators(true/false)` logic




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