[ 
https://issues.apache.org/jira/browse/BEAM-7192?focusedWorklogId=236850&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-236850
 ]

ASF GitHub Bot logged work on BEAM-7192:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/May/19 13:28
            Start Date: 03/May/19 13:28
    Worklog Time Spent: 10m 
      Work Description: mxm commented on pull request #8441: [BEAM-7192] Fix 
partitioning of buffered elements during checkpointing
URL: https://github.com/apache/beam/pull/8441#discussion_r280773598
 
 

 ##########
 File path: 
runners/flink/src/main/java/org/apache/beam/runners/flink/translation/wrappers/streaming/DoFnOperator.java
 ##########
 @@ -368,6 +363,13 @@ public void initializeState(StateInitializationContext 
context) throws Exception
 
       timerInternals = new FlinkTimerInternals();
     }
+
+    outputManager = createOutputManager();
 
 Review comment:
   Left a comment in the new lock retrieval method.
 
----------------------------------------------------------------
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: 236850)
    Time Spent: 2h 50m  (was: 2h 40m)

> Elements buffered during checkpointing may not be partitioned correctly
> -----------------------------------------------------------------------
>
>                 Key: BEAM-7192
>                 URL: https://issues.apache.org/jira/browse/BEAM-7192
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Major
>             Fix For: 2.13.0
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> When a Flink checkpoint is taken, the current bundle is finalized. The 
> finalization happens when the checkpoint barrier has already been sent 
> downstream; emitting elements at this point would violate the checkpoint 
> barrier alignment.
> When elements are emitted during checkpointing they are buffered until the 
> checkpoint is complete. We should ensure that they are keyed correctly and 
> emission of the buffered elements does not interfere with any concurrent 
> state requests (in case of portability).
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to