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

William Burns (JIRA) issues at jboss.org
Thu Feb 15 01:02:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-8806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Burns updated ISPN-8806:
--------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/5758


> 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