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

Pedro Ruivo (JIRA) issues at jboss.org
Tue May 13 18:13:18 EDT 2014


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

Pedro Ruivo updated ISPN-4036:
------------------------------

    Fix Version/s: 7.0.0.Beta1
                       (was: 7.0.0.Alpha4)


> 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