]
Pedro Ruivo updated ISPN-4099:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
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: 9.1.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.