dawidwys commented on a change in pull request #13529:
URL: https://github.com/apache/flink/pull/13529#discussion_r501058934



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/StreamTwoInputProcessor.java
##########
@@ -67,7 +63,8 @@ public StreamTwoInputProcessor(
 
        @Override
        public CompletableFuture<?> getAvailableFuture() {
-               if (inputSelectionHandler.areAllInputsSelected()) {
+               if (inputSelectionHandler.areAllInputsSelected() ||
+                               (inputSelectionHandler.isInputUnavailable(0) && 
!inputSelectionHandler.isInputUnavailable(1))) {

Review comment:
       Hah. That's actually a mistake. I forgot to remove the negation after I 
negated the method itself... 




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


Reply via email to