beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2975) Results of ReadableState.read() should be snapshots of the underlying state
Date Thu, 21 Sep 2017 22:34:00 GMT

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

ASF GitHub Bot commented on BEAM-2975:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3876


> 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: Minor
>
> 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
(v6.4.14#64029)

Mime
View raw message