Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-2734

Automatically take a site offline if the CrossSiteRepl is in ASYNC mode

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 7.3.2.CR1
    • 7.3.2.ER1
    • Cross-site Replication
    • None
    • JDG Sprint #28, DataGrid Sprint #29

      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
              rhn-support-wfink Wolf Fink
              Anna Manukyan Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: