Maximilian Michels created BEAM-10249:
-----------------------------------------
Summary: 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
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)