[
https://issues.apache.org/jira/browse/BEAM-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17145391#comment-17145391
]
Beam JIRA Bot commented on BEAM-2777:
-------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> InMemoryStateInternals MapState / SetState should use StructuralValue for
> membership / key comparison checks
> ------------------------------------------------------------------------------------------------------------
>
> Key: BEAM-2777
> URL: https://issues.apache.org/jira/browse/BEAM-2777
> Project: Beam
> Issue Type: Bug
> Components: runner-core, runner-direct
> Reporter: Luke Cwik
> Priority: P3
>
> InMemoryStateInternals SetState incorrectly compares set membership by using
> object equality instead of the structural value.
> InMemoryStateInternals MapState incorrectly compares key membership based
> upon key equality instead of structural value of the key equality.
> This impacts DirectRunner.
> Adding tests which uses byte arrays as the object within the set state and
> also byte arrays as the keys within a map state would exercise this failure
> condition.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)