[infinispan-issues] [JBoss JIRA] (ISPN-8806) ClusterStreamManagerImpl Subscription can request too many remote entries

William Burns (JIRA) issues at jboss.org
Tue Feb 13 10:09:00 EST 2018


William Burns created ISPN-8806:
-----------------------------------

             Summary: ClusterStreamManagerImpl Subscription can request too many remote entries
                 Key: ISPN-8806
                 URL: https://issues.jboss.org/browse/ISPN-8806
             Project: Infinispan
          Issue Type: Bug
          Components: Streams
    Affects Versions: 9.2.0.CR2
            Reporter: William Burns
            Assignee: William Burns
             Fix For: 9.2.0.CR3


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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list