[infinispan-issues] [JBoss JIRA] (ISPN-8585) Removed listener should only fire when something removed
Radim Vansa (JIRA)
issues at jboss.org
Thu Jan 11 04:36:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa resolved ISPN-8585.
-------------------------------
Resolution: Done
> Removed listener should only fire when something removed
> --------------------------------------------------------
>
> Key: ISPN-8585
> URL: https://issues.jboss.org/browse/ISPN-8585
> Project: Infinispan
> Issue Type: Enhancement
> Components: Listeners
> Affects Versions: 9.2.0.Beta1, 9.1.3.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.2.0.CR1, 9.2.0.Final
>
>
> Removed embedded listener is being fired even if no elements are being removed. This shouldn't be the case.
> This is not the case with remote listeners, where the server side code checks whether the old value is not null before sending the event to the client.
> https://github.com/infinispan/infinispan/blob/master/server/hotrod/src/main/java/org/infinispan/server/hotrod/ClientListenerRegistry.java#L398
> The embedded listener should not fire events in the first place.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list