[infinispan-issues] [JBoss JIRA] (ISPN-10864) PrefetchInterceptor should use non blocking publisher and ban iterator

Dan Berindei (Jira) issues at jboss.org
Mon Dec 9 14:41:00 EST 2019


    [ https://issues.redhat.com/browse/ISPN-10864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822992#comment-13822992 ] 

Dan Berindei commented on ISPN-10864:
-------------------------------------

Something else to watch for: currently {{PrefetchIterator}} also iterates over all the segments multiple times (possibly every time a single segment is requested), and invokes a {{GetKeyValueCommand(flags=[CACHE_MODE_LOCAL])}} for the same key for every local segment.

> PrefetchInterceptor should use non blocking publisher and ban iterator
> ----------------------------------------------------------------------
>
>                 Key: ISPN-10864
>                 URL: https://issues.redhat.com/browse/ISPN-10864
>             Project: Infinispan
>          Issue Type: Sub-task
>            Reporter: Will Burns
>            Priority: Major
>
> Scattered cache requires possibly checking if a segment is owned or not. This requires waiting for this to complete if it is in process. This means iterator will blocking waiting for this to occur. Thus we shouldn't utilize the iterator methods and instead provide a publisher that doesn't block properly.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list