[infinispan-issues] [JBoss JIRA] (ISPN-8948) Cluster listeners and XSite

Pedro Ruivo (JIRA) issues at jboss.org
Thu Mar 15 11:04:00 EDT 2018


    [ https://issues.jboss.org/browse/ISPN-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13546527#comment-13546527 ] 

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?)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list