[infinispan-issues] [JBoss JIRA] (ISPN-2423) Handle the site unreachable case when sending unicasts to backup sites.

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Oct 31 13:28:18 EDT 2012


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

Mircea Markus updated ISPN-2423:
--------------------------------

    Fix Version/s: 5.2.0.Final
                       (was: 5.2.0.CR1)

    
> Handle the site unreachable case when sending unicasts to backup sites.
> -----------------------------------------------------------------------
>
>                 Key: ISPN-2423
>                 URL: https://issues.jboss.org/browse/ISPN-2423
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Cross-Site Replication
>    Affects Versions: 5.2.0.Beta2
>            Reporter: Erik Salter
>            Assignee: Mircea Markus
>             Fix For: 5.2.0.Final
>
>
> When the BackupInterceptors send a unicast to an unreachable site, the underlying RELAY2 protocol can be configured to retry sending the message.
> The current implementation iterates over sites and sequentially tries to send a message. If one of the sites is unreachable, it will block waiting for a response.  For instance, if in sites {A,B,C} and A is down, we can block on waiting for the response from A.  As this is in the critical path for transactions, locks, etc., this affects the overall throughput of the system.
> Note that this happens for async and sync replication.
> A potential solution is in JGroupsTransport.backupRemotely(), we create a Runnable which calls MessageDispatcher.sendWithFuture() and submit it to the internal asyncExecutor thread pool.  For async replication, the responses can then be processed (and sites taken offline, etc) outside the tx critical path.   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list