pnowojski commented on a change in pull request #8124: [FLINK-11877] Implement
the runtime handling of the InputSelectable interface
URL: https://github.com/apache/flink/pull/8124#discussion_r276769151
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/SingleInputGate.java
##########
@@ -184,6 +184,9 @@
/** A timer to retrigger local partition requests. Only initialized if
actually needed. */
private Timer retriggerLocalRequestTimer;
+ /** Flag indicating whether there is available data. */
+ private volatile boolean moreDataAvailable = false;
Review comment:
Case 1:
7. (Task Thread) received `BufferOrEvent#moreAvailable == false`, so it
waits/checks on the `listenFutures[x]`. If there is any data, future should be
completed.
Case 2:
I don't see a problem? If we get from notifications/futures false positive,
what's the problem?
----------------------------------------------------------------
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