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

ClusterStreamManagerImpl Subscription can request too many remote entries

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 9.2.0.CR2
    • Fix Version/s: 9.2.0.CR3
    • Component/s: Streams
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                william.burns Will Burns
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: