Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
If the task is canceled while the watermark progresses, it may be stuck in the Cancelling state for a long time (e.g., when many windows are firing). This is closely related to FLINK-20217, which might bring a more robust solution for checkpoint and cancellation code paths.
As a stopgap solution, we'll introduce a check allowing InternalTimerService to break out of the firing loop if the StreamTask has been marked as canceled.
Attachments
Issue Links
- causes
-
FLINK-31387 StreamTaskCancellationTest.testCancelTaskShouldPreventAdditionalProcessingTimeTimersFromBeingFired failed with an assertion
-
- Closed
-
- relates to
-
FLINK-20217 More fine-grained timer processing
-
- Open
-
- links to