[
https://issues.apache.org/jira/browse/BEAM-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953922#comment-15953922
]
Thomas Groh commented on BEAM-1659:
-----------------------------------
Yeah, this seems as though it would be suitable.
> Improve UnboundedSourceShard structure
> --------------------------------------
>
> Key: BEAM-1659
> URL: https://issues.apache.org/jira/browse/BEAM-1659
> Project: Beam
> Issue Type: Improvement
> Components: runner-direct
> Reporter: Thomas Groh
> Priority: Minor
> Labels: starter
>
> Use the 'OneOf' of "Active Reader" and "Optional<Checkpoint>", to make it
> obvious how to obtain and use a reader.
> Maintain an ordered list of checkpoints that have not been finalized for a
> shard. Checkpoints that can be resumed from can also be finalized, but
> otherwise the two are unrelated. This also improves ease of never
> multi-finalizing a checkpoint. This gets more complicated with retries, but
> must be considered with the associated work required to make
> UnboundedReadEvaluatorFactory handle retries properly.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)