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

IRAC state transfer may skip data


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.18.Final, 15.0.0.Dev04
    • None
    • None
    • None

      The scenario happens as follows. You have a write operation that writes K and it queues the update in IRAC queue.

      (Thread1) The IRAC thread processes the queue and tries to send K to the remote site but it is in offline mode. The response is processed asynchronously and sent to a thread pool
      (Thread2) State transfer is started, changes the remote site to online mode, and iterates over all entries to append them to the queue. However K is not appended since it is already there.
      (Thread3) Processes the response from Thread1 and removes K from the queue.

      Causes random failures in IracStateTransferTest

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            0 Vote for this issue
            1 Start watching this issue