rkhachatryan commented on a change in pull request #14526:
URL: https://github.com/apache/flink/pull/14526#discussion_r552013540
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -400,9 +404,23 @@ protected void
processInput(MailboxDefaultAction.Controller controller) throws E
controller.allActionsCompleted();
return;
}
- CompletableFuture<?> jointFuture = getInputOutputJointFuture(status);
- MailboxDefaultAction.Suspension suspendedDefaultAction =
controller.suspendDefaultAction();
- assertNoException(jointFuture.thenRun(suspendedDefaultAction::resume));
+
+ final Suspension suspension = controller.suspendDefaultAction();
Review comment:
Thanks for fixing it. I think the current version still under-estimates
idle time if both input and output are consistently unavailable. But probably
that's fine.
----------------------------------------------------------------
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]