[ https://issues.apache.org/jira/browse/FLINK-20217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flink Jira Bot updated FLINK-20217: ----------------------------------- Labels: auto-deprioritized-major stale-minor (was: auto-deprioritized-major) I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized. > More fine-grained timer processing > ---------------------------------- > > Key: FLINK-20217 > URL: https://issues.apache.org/jira/browse/FLINK-20217 > Project: Flink > Issue Type: Improvement > Components: API / DataStream > Affects Versions: 1.10.2, 1.11.2, 1.12.0 > Reporter: Nico Kruber > Priority: Minor > Labels: auto-deprioritized-major, stale-minor > > Timers are currently processed in one big block under the checkpoint lock > (under {{InternalTimerServiceImpl#advanceWatermark}}. This can be problematic > in a number of scenarios while doing checkpointing which would lead to > checkpoints timing out (and even unaligned checkpoints would not help). > If you have a huge number of timers to process when advancing the watermark > and the task is also back-pressured, the situation may actually be worse > since you would block on the checkpoint lock and also wait for > buffers/credits from the receiver. > I propose to make this loop more fine-grained so that it is interruptible by > checkpoints, but maybe there is also some other way to improve here. -- This message was sent by Atlassian Jira (v8.20.1#820001)