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

Cross-Site automatic state transfer with empty exception using set state mode

    XMLWordPrintable

Details

    • DataGrid Sprint #63, DataGrid Sprint #64

    Description

      If you try to set cross-Site automatic transfer mode to AUTO using Rest API and if you have any wrong configuration like <backup strategy="SYNC"> and invoke the rest request:

       POST /rest/v2/caches/\{cacheName}/x-site/backups/\{site}/state-transfer-mode?action=set&mode=\{mode}
      

      you will not receive any exception in the response body, the same applies to CLI if you invoke:

       site state-transfer-mode set --cache=myCache --site=NYC --mode=AUTO
      

      The following exception should be thrown

      *CacheConfigurationException: ISPN000634: Cross-Site automatic state transfer is not compatible with SYNC backup strategy*
      

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            gustavolira Gustavo Lira Silva
            Gustavo Lira Silva Gustavo Lira Silva
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: