[infinispan-issues] [JBoss JIRA] (ISPN-10180) Automatically take a site offline if the Cross-Site is in ASYNC mode
Pedro Ruivo (Jira)
issues at jboss.org
Mon May 13 09:21:00 EDT 2019
Pedro Ruivo created ISPN-10180:
----------------------------------
Summary: Automatically take a site offline if the Cross-Site is in ASYNC mode
Key: ISPN-10180
URL: https://issues.jboss.org/browse/ISPN-10180
Project: Infinispan
Issue Type: Feature Request
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
With a SYNC XSite replication, it is possible to automatically mark a site offline with the following configuration
{code:xml}
<distributed-cache name="XSiteCache" ....>
...
<backups>
<backup site="site02" failure-policy="IGNORE" strategy="SYNC">
<take-offline after-failures="10" min-wait="60000"/>
</backup>
</backups>
</distributed-cache>
{code}
If the strategy is ASYNC (i.e. for performance reason) the element take-offline will have no effect as the site will 'fire and forget' the updates and don't care about failure.
It should be possible to use the take-offline configuration in ASYNC mode as well
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the infinispan-issues
mailing list