Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8585

Removed listener should only fire when something removed

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  galder.zamarreno Galder ZamarreƱo
                  Reporter:
                  galder.zamarreno Galder ZamarreƱo
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: