[infinispan-issues] [JBoss JIRA] (ISPN-8708) Remote iteration with limited batch sends finished segments too early

William Burns (JIRA) issues at jboss.org
Fri Jan 26 10:42:00 EST 2018


    [ https://issues.jboss.org/browse/ISPN-8708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13524757#comment-13524757 ] 

William Burns commented on ISPN-8708:
-------------------------------------

Instead this needs to be changed to have [1] instead have a KeyWatchingCompletionListener for each publisher and complete the segments when the iterator finds a given key. This way we don't have to store all keys and remove them as they are iterated upon.

[1] https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/stream/impl/DistributedCacheStream.java#L674

> Remote iteration with limited batch sends finished segments too early
> ---------------------------------------------------------------------
>
>                 Key: ISPN-8708
>                 URL: https://issues.jboss.org/browse/ISPN-8708
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 9.2.0.Beta2
>            Reporter: Radim Vansa
>            Assignee: William Burns
>             Fix For: 9.2.0.Final
>
>         Attachments: infinispan-infinispan-client-hotrod.log.zip
>
>
> When a remote cache is iterated and we limit maximum number of entries in one response, we might get the list of finished segments before the entry is actually sent to the client.



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


More information about the infinispan-issues mailing list