[infinispan-issues] [JBoss JIRA] (ISPN-4036) StateConsumerImpl.isKeyUpdated searches for the key in the values collection

Dan Berindei (JIRA) issues at jboss.org
Wed May 28 05:41:15 EDT 2014


     [ https://issues.jboss.org/browse/ISPN-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-4036:
-------------------------------

    Status: Open  (was: Pull Request Sent)


> StateConsumerImpl.isKeyUpdated searches for the key in the values collection
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-4036
>                 URL: https://issues.jboss.org/browse/ISPN-4036
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Core, State Transfer
>    Affects Versions: 6.0.1.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Critical
>             Fix For: 7.0.0.Beta1
>
>
> Introduced by the ISPN-3443 fix. I changed the {{updatedKeys}} HashSet to be an EquivalendConcurrentHashMap, but I forgot to change the {{contains(key)}} call to {{containsKey(key)}}. Since we use the same value for all the keys, it means state transfer might skip more keys than it should have.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list