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

ClusterStreamManagerImpl Subscription can request too many remote entries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 9.2.0.Final
    • 9.2.0.Final
    • Streams
    • None

      The ClusterStreamManagerImpl.ClusterStreamSubscription stores a requestedAmount variable to ensure that only the correct number of entries are requested. It also ensures that only a single request per node can be done at at time by protecting calls via pendingRequest variable. Unfortunately there is an interleaving of code that allows for a request to possibly send 2 batches worth. This can cause the downstream queues that rely on only a specific number of entries to fail sometimes.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: