[ https://issues.apache.org/jira/browse/BEAM-7112?focusedWorklogId=233925&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-233925 ]
ASF GitHub Bot logged work on BEAM-7112: ---------------------------------------- Author: ASF GitHub Bot Created on: 27/Apr/19 09:13 Start Date: 27/Apr/19 09:13 Worklog Time Spent: 10m Work Description: mxm commented on issue #8399: [BEAM-7112] Timer race with state cleanup - take two URL: https://github.com/apache/beam/pull/8399#issuecomment-487269724 >The finish bundle callback starts a new bundle when the watermark advances, which can lead to inconsistent state snapshot. I think the solution could be to checkpoint cleanup timers and delay execution of the timers for until after the checkpoint has completed. Otherwise we have to checkpoint any possible emitted elements during completing the bundle within `snapshotState`. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 233925) Time Spent: 8h (was: 7h 50m) > State cleanup interferes with user timer callback > ------------------------------------------------- > > Key: BEAM-7112 > URL: https://issues.apache.org/jira/browse/BEAM-7112 > Project: Beam > Issue Type: Bug > Components: runner-flink > Affects Versions: 2.12.0 > Reporter: Thomas Weise > Assignee: Thomas Weise > Priority: Major > Labels: portability-flink > Fix For: 2.13.0 > > Time Spent: 8h > Remaining Estimate: 0h > > Cleanup timers and user timers are fired at the watermark. Processing of > timers in the SDK worker is asynchronous, so it is possible that the state is > already removed when the user timer callback executes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)