Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10180

Automatically take a site offline if the Cross-Site is in ASYNC mode

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      With a SYNC XSite replication, it is possible to automatically mark a site offline with the following configuration

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

      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

              pruivo@redhat.com Pedro Ruivo
              pruivo@redhat.com Pedro Ruivo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: