AHeise commented on a change in pull request #13499:
URL: https://github.com/apache/flink/pull/13499#discussion_r496996702



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -518,6 +518,11 @@ private void readRecoveredChannelState() throws 
IOException, InterruptedExceptio
                                                        "Cannot restore state 
to a non-checkpointable partition type: " + writer);
                                }
                        }
+
+                       if (!recordWriter.isAvailable()) {
+                               MailboxDefaultAction.Suspension 
suspendedDefaultAction = mailboxProcessor.suspendDefaultAction();
+                               
getInputOutputJointFuture(InputStatus.NOTHING_AVAILABLE).thenRun(suspendedDefaultAction::resume);
+                       }

Review comment:
       I dropped the commit for now, as it would only be relevant for fully 
blocked output (input selection) or checkpointing during recovery.




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