[infinispan-issues] [JBoss JIRA] (ISPN-9157) Improve RELAY/RELAY2 JGroups protocol selection

Galder Zamarreño (JIRA) issues at jboss.org
Tue May 15 12:28:00 EDT 2018


Galder Zamarreño created ISPN-9157:
--------------------------------------

             Summary: Improve RELAY/RELAY2 JGroups protocol selection
                 Key: ISPN-9157
                 URL: https://issues.jboss.org/browse/ISPN-9157
             Project: Infinispan
          Issue Type: Enhancement
          Components: Cross-Site Replication
            Reporter: Galder Zamarreño


When using x-site replication, there is the choice of using RELAY or RELAY2 JGroups protocols. The existence of choice is not obvious and not well documented.

As an example, if using SYNC x-site replication and RELAY2, it's easy to end up in this situation: if I define site A to have site B as backup, and site B is simply not up yet, why should a put in site A fail? In a normal cluster, if I have node X and node Y is not up yet, a put on node X simply does not fail. To make this work, you need to configure RELAY instead of RELAY2.

The RELAY2 doc is very explicit that it doesn't want to expose a virtual view, the sites should be configured statically, and sites that are not up are considered unreachable (https://github.com/belaban/JGroups/blob/master/doc/design/RELAY2.txt)



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



More information about the infinispan-issues mailing list