1996fanrui commented on code in PR #27862:
URL: https://github.com/apache/flink/pull/27862#discussion_r3033575343


##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/InputGate.java:
##########
@@ -192,5 +192,12 @@ public String toString() {
 
     public abstract CompletableFuture<Void> getStateConsumedFuture();
 
+    /**
+     * Returns a future that completes when buffer filtering is complete for 
all channels. This
+     * future completes before {@link #getStateConsumedFuture()}, enabling 
earlier RUNNING state
+     * transition when unaligned checkpoint during recovery is enabled.
+     */
+    public abstract CompletableFuture<Void> getBufferFilteringCompleteFuture();

Review Comment:
   Added UnionInputGateTest.testBufferFilteringCompleteFutureAggregation



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to