pnowojski commented on a change in pull request #9905: [FLINK-14396][network] 
Implement rudimentary non-blocking network output
URL: https://github.com/apache/flink/pull/9905#discussion_r337075750
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/UnionInputGate.java
 ##########
 @@ -118,7 +118,7 @@ public UnionInputGate(InputGate... inputGates) {
                        }
 
                        if (!inputGatesWithData.isEmpty()) {
-                               isAvailable = AVAILABLE;
+                               
availabilityHelper.getUnavailableToResetAvailable();
 
 Review comment:
   Calling `getUnavailableToResetAvailable` without getting the result, is a 
bit confusing. Maybe we should provide an additional helper method like 
`resetAvailable` or `markAvailable` that does the same thing but returns `void`?

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


With regards,
Apache Git Services

Reply via email to