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

Conditional Operation can fail erroneously during ST

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.CR2
    • None
    • State Transfer
    • None

      Currently the retry logic for commands is to only throw a OutdatedTopologyException when a command is successful.

      This however can have the following issue.

      k1 owned by N1, N2

      1. N3 updates k1 sending conditional command to N1
      2. N1 receives command and starts running it (passes topology block)
      3. ST occurs causing N1 to no longer be an owner and removes k1 from it's data container.
      4. N1 runs optional command and it fails and thus doesn't throw OutdatedTopologyException
      5. N3 gets response that command failed, but it could have worked had it gone to a real owner.

              dberinde@redhat.com Dan Berindei (Inactive)
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: