[
https://issues.apache.org/jira/browse/BEAM-7785?focusedWorklogId=282750&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-282750
]
ASF GitHub Bot logged work on BEAM-7785:
----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Jul/19 16:20
Start Date: 25/Jul/19 16:20
Worklog Time Spent: 10m
Work Description: kennknowles commented on issue #9108: [BEAM-7785]
synchronize watermark update with bundle processing
URL: https://github.com/apache/beam/pull/9108#issuecomment-515110292
Basically the kind of data structure you have to use in a pure functional
language. These, by necessity, are a snapshot when you hand it off. And
generally you build in a way to append changes cheaply, and then some
compaction. I don't have an exact data structure in mind, just that general
idea that is pretty universal.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 282750)
Time Spent: 2h 40m (was: 2.5h)
> DirectRunner: watermarks are updated asynchronously from bundle processing
> --------------------------------------------------------------------------
>
> Key: BEAM-7785
> URL: https://issues.apache.org/jira/browse/BEAM-7785
> Project: Beam
> Issue Type: Bug
> Components: runner-direct
> Affects Versions: 2.13.0
> Reporter: Jan Lukavský
> Assignee: Jan Lukavský
> Priority: Major
> Fix For: 2.15.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Watermarks are updated in QuiescenceDriver (by calling fireTimers, which
> calls forceRefresh()) on WatermarkManager. This results in creating timer
> bundles, that are then processed asynchronously as DirectTransformExecutor.
> Because of that, watermarks (input watermarks mostly) might be updated while
> bundle is being processed. That violates assumption, that bundle processing
> should be atomical (with identical external conditions during processing of
> whole bundle).
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)