]
Pedro Ruivo updated ISPN-10180:
-------------------------------
Affects Version/s: 9.4.13.Final
10.0.0.Beta3
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
Affects Versions: 10.0.0.Beta3, 9.4.13.Final
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Priority: Major
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