]
Pedro Ruivo commented on ISPN-8948:
-----------------------------------
As Tristan suggested, adding {{@Listener(localSiteOnly=true)}} would do the trick.
Cluster listeners and XSite
---------------------------
Key: ISPN-8948
URL:
https://issues.jboss.org/browse/ISPN-8948
Project: Infinispan
Issue Type: Task
Components: Cross-Site Replication, Listeners
Affects Versions: 9.2.0.Final
Reporter: Galder ZamarreƱo
As per info from Will and Pedro, when a cluster listener is defined in multiple sites,
updates coming from another site might trigger listeners in a site.
This might not always be what you want it to happen, e.g. if a site is backup of another
and the event should only be processed in the site of origin.
Tests should be added to xsite testsuite to verify this. This should be documented, as
well as workarounds to avoid this happening (e.g. server side filter?)