[
https://issues.apache.org/jira/browse/BEAM-2975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132337#comment-17132337
]
Beam JIRA Bot commented on BEAM-2975:
-------------------------------------
This issue is assigned but has not received an update in 30 days so it has been
labeled "stale-assigned". If you are still working on the issue, please give an
update and remove the label. If you are no longer working on the issue, please
unassign so someone else may work on it. In 7 days the issue will be
automatically unassigned.
> Results of ReadableState.read() should be snapshots of the underlying state
> ---------------------------------------------------------------------------
>
> Key: BEAM-2975
> URL: https://issues.apache.org/jira/browse/BEAM-2975
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Daniel Mills
> Assignee: Daniel Mills
> Priority: P3
> Labels: stale-assigned
>
> Future modification of state should not be reflected in previous calls to
> read(). For example:
> @StateId("tag") BagState<Integer> state;
> Iterable<Integer> ints = state.read();
> state.add(17);
> // ints should still be empty here.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)