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

XSite replication - take-offline.after-failures property is ignored

    Details

      Description

      Let's say I use the following backup settings and start the server in site LON:

      <backup site="BRN" strategy="SYNC">
      <take-offline after-failures="5"/>
      </backup>

      The following code snipped should cause BRN site to go offline after 5 failures, however the site is still remains online and tries to back up the data to BRN.

      RemoteCacheManager remoteCacheManager = new RemoteCacheManager();
      RemoteCache<Object, Object> cache = remoteCacheManager.getCache();
      for (int i = 0; i < 10; i++)

      { cache.put(i, i); }

      Server-side error message example:
      16:05:19,121 ERROR [org.jgroups.protocols.relay.RELAY2] (HotRodServerWorker-5-2) localhost: no route to BRN: dropping message
      16:05:29,121 WARN [org.infinispan.xsite.BackupSenderImpl] (HotRodServerWorker-5-2) ISPN000202: Problems backing up data for cache default to site BRN: org.infinispan.util.concurrent.TimeoutException: Timed out after 10 seconds waiting for a response from BRN (sync, timeout=10000)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pruivo Pedro Ruivo
                Reporter:
                mcimbora Matej ─îimbora
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: