You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jan Lukavský (JIRA)" <ji...@apache.org> on 2019/05/10 20:22:00 UTC
[jira] [Created] (BEAM-7269) Remove StateSpec from hashCode of
SimpleStateTag
Jan Lukavský created BEAM-7269:
----------------------------------
Summary: 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ý
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)