[infinispan-issues] [JBoss JIRA] (ISPN-4099) Local Listeners can raise entry events on rehash
William Burns (JIRA)
issues at jboss.org
Tue May 6 09:37:57 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Burns updated ISPN-4099:
--------------------------------
Summary: Local Listeners can raise entry events on rehash (was: Cluster Listeners raise entry events on rehash)
Description:
-Cluster Listeners currently raise all create, modify and remove events. When a rehash event occurs this would cause a create event to be generated even though it wasn't just added to the cache. We need to not raise an event in this case.-
Writing up tests for this, cluster listeners are unaffected as they use the primaryOnly value for the listener. Further testing shows that this only affects local listeners when they become a backup owner from not being an owner.
was:Cluster Listeners currently raise all create, modify and remove events. When a rehash event occurs this would cause a create event to be generated even though it wasn't just added to the cache. We need to not raise an event in this case.
> Local Listeners can raise entry events on rehash
> ------------------------------------------------
>
> Key: ISPN-4099
> URL: https://issues.jboss.org/browse/ISPN-4099
> Project: Infinispan
> Issue Type: Bug
> Components: Listeners
> Affects Versions: 7.0.0.Alpha1
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 7.0.0.Final
>
>
> -Cluster Listeners currently raise all create, modify and remove events. When a rehash event occurs this would cause a create event to be generated even though it wasn't just added to the cache. We need to not raise an event in this case.-
> Writing up tests for this, cluster listeners are unaffected as they use the primaryOnly value for the listener. Further testing shows that this only affects local listeners when they become a backup owner from not being an owner.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the infinispan-issues
mailing list