You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2019/05/13 16:12:00 UTC
[jira] [Closed] (BEAM-7269) Remove StateSpec from hashCode of
SimpleStateTag
[ https://issues.apache.org/jira/browse/BEAM-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Cwik closed BEAM-7269.
---------------------------
Resolution: Fixed
Fix Version/s: 2.14.0
> Remove StateSpec from hashCode of SimpleStateTag
> ------------------------------------------------
>
> Key: BEAM-7269
> URL: https://issues.apache.org/jira/browse/BEAM-7269
> Project: Beam
> Issue Type: Bug
> Components: runner-core
> Affects Versions: 2.12.0
> Reporter: Jan Lukavský
> Assignee: Jan Lukavsky
> Priority: Major
> Fix For: 2.14.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> SimpleStateTag is used as key in hash based StateTable, and currently is hashes and compares StateSpec and StructuredId, that are inside the SimpleStateTag. StateSpec hashes Coder into the resulting hashCode and when the Coder fails to have a proper hashCode and equals implementations, it results in wrong behavior (apparently missing states).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)