Copilot commented on code in PR #29397:
URL: https://github.com/apache/flink/pull/29397#discussion_r4732878728
##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/async/AsyncWaitOperator.java:
##########
@@ -233,6 +234,8 @@ public void open() throws Exception {
processElement(element.<IN>asRecord());
} else if (element.isWatermark()) {
processWatermark(element.asWatermark());
+ } else if (element.isWatermarkStatus()) {
+ processWatermarkStatus(element.asWatermarkStatus());
Review Comment:
Restoring `[record, W100, IDLE]` can leave the output idle while live input
is active, because the fresh `StatusWatermarkValve` starts ACTIVE and
suppresses redundant ACTIVE notifications. Records do not reactivate the
output, so `ChainingOutput` and `RecordWriterOutput` discard subsequent
watermarks, including `MAX_WATERMARK`. Enqueue an ACTIVE reset after the
recovered backlog when its last status is IDLE, and extend the restore test
with live records and watermarks through a fresh input valve.
--
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]