[ 
https://issues.apache.org/jira/browse/BEAM-10493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17196392#comment-17196392
 ] 

Beam JIRA Bot commented on BEAM-10493:
--------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it 
has been labeled "stale-P2". If this issue is still affecting you, we care! 
Please comment and remove the label. Otherwise, in 14 days the issue will be 
moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed 
explanation of what these priorities mean.


> Unbounded sources unable to recover from checkpointMark when 
> withMaxReadTime() is used
> --------------------------------------------------------------------------------------
>
>                 Key: BEAM-10493
>                 URL: https://issues.apache.org/jira/browse/BEAM-10493
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>    Affects Versions: 2.22.0
>            Reporter: Mani Kolbe
>            Priority: P2
>              Labels: stale-P2
>         Attachments: image-2020-07-15-15-15-01-705.png, 
> image-2020-07-15-15-15-12-937.png
>
>
> Observed on v2.22.0 
> When withMaxReadTime() is used, Beam creates an 
> BoundedReadFromUnboundedSource [1].  The ReadFn<T> class in 
> BoundedReadFromUnboundedSource which is responsible for reading records from 
> source. You can see this class doesnt verify if there is a recoverable 
> checkpoint exist. Instead it always creates Reader with checkpointMark set as 
> null [2]. 
>  
> Reference:
> [1] 
> [https://github.com/apache/beam/blob/v2.22.0/sdks/java/core/src/main/java/org/apache/beam/sdk/io/Read.java#L205]
> [2][https://github.com/apache/beam/blob/v2.22.0/sdks/java/core/src/main/java/org/apache/beam/sdk/io/BoundedReadFromUnboundedSource.java#L193]
>  
> !image-2020-07-15-15-15-12-937.png|width=836,height=346!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to