Zakelly commented on code in PR #24657: URL: https://github.com/apache/flink/pull/24657#discussion_r1567158767
########## flink-runtime/src/main/java/org/apache/flink/runtime/asyncprocessing/StateRequestBuffer.java: ########## @@ -59,6 +60,9 @@ public StateRequestBuffer() { } void enqueueToActive(StateRequest<K, ?, ?> request) { + if (request.getRequestType() == StateRequestType.SYNC_POINT) { + request.getFuture().complete(null); + } Review Comment: Yes. Once the `SYNC_POINT` is about to add to the `activeQueue` (meaning that it is ready), complete it directly. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org