[
https://issues.apache.org/jira/browse/BEAM-10249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maximilian Michels resolved BEAM-10249.
---------------------------------------
Fix Version/s: 2.23.0
Resolution: Fixed
> State handler does not retrieve initial values when appending
> -------------------------------------------------------------
>
> Key: BEAM-10249
> URL: https://issues.apache.org/jira/browse/BEAM-10249
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-harness
> Reporter: Maximilian Michels
> Assignee: Maximilian Michels
> Priority: P2
> Fix For: 2.23.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> When new values are added to a bag state, the cache handler in the Python SDK
> does not check whether the underlying state already has values present.
> Although the append operation will be sent to the backend, the cache itself
> will be corrupted because it returns only the newly appended values for get
> operations, not the values present before the append operation.
> This is a concern when restoring from a checkpoint but also when items are
> evicted from the cache.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)