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

Cross site state transfer - incorrect status of push operation

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

XMLWordPrintable

      Status of push operation remains at value "CANCELLED" after the push operation was cancelled and reinvoked (even if state transfer is currently in progress) - "SENDING" value is expected. Otherwise works as expected (after the state transfer completes, status is switched to "OK").

      • Sites LON (lonCache) - main, BRN (brnCache) - backup

      Consider the following scenario:

      [standalone@localhost:9999 distributed-cache=lonCache] site --push BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --cancelpush BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=CANCELED
      [standalone@localhost:9999 distributed-cache=lonCache] site --push BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=CANCELED
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=OK

      Expected behavior:

      [standalone@localhost:9999 distributed-cache=lonCache] site --push BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --cancelpush BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=CANCELED
      [standalone@localhost:9999 distributed-cache=lonCache] site --push BRN
      ok
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=SENDING
      [standalone@localhost:9999 distributed-cache=lonCache] site --pushstatus
      BRN=OK

              pruivo@redhat.com Pedro Ruivo
              mcimbora_jira Matej Čimbora (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: