[
https://issues.apache.org/jira/browse/FLINK-31370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Morávek updated FLINK-31370:
----------------------------------
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.
was:If the task is being canceled while the watermark is progressing, it may
be stuck in the Cancelling state for a long time (e.g. when there are many
windows firing). This is closely related to
> Cancellation of the StreamTask should prevent more timers from being fired
> --------------------------------------------------------------------------
>
> Key: FLINK-31370
> URL: https://issues.apache.org/jira/browse/FLINK-31370
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Task
> Reporter: David Morávek
> Assignee: David Morávek
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)