[infinispan-issues] [JBoss JIRA] (ISPN-8585) Removed listener should only fire when something removed

Ryan Emerson (JIRA) issues at jboss.org
Mon Dec 18 10:50:02 EST 2017


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

Ryan Emerson updated ISPN-8585:
-------------------------------
    Fix Version/s: 9.2.0.CR1
                       (was: 9.2.0.Beta2)


> 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