[infinispan-issues] [JBoss JIRA] (ISPN-9791) Distributed Stream rehash can miss entries on non replicated caches with non iterator methods

William Burns (Jira) issues at jboss.org
Mon Dec 3 13:28:00 EST 2018


William Burns created ISPN-9791:
-----------------------------------

             Summary: Distributed Stream rehash can miss entries on non replicated caches with non iterator methods
                 Key: ISPN-9791
                 URL: https://issues.jboss.org/browse/ISPN-9791
             Project: Infinispan
          Issue Type: Bug
          Components: Streams
    Affects Versions: 9.4.3.Final
            Reporter: William Burns
            Assignee: William Burns
             Fix For: 10.0.0.Alpha2, 9.4.4.Final


When fixing some rehash test failures in ISPN-9542, we added in an optimization to not allocate a listener and additional objects when using a replicated cache. Unfortunately in doing so the listener is only registered with replicated caches on accident. This leaves a small window between when we start iteration (we check segment) and the completion that if we lose an entry due to state transfer.

The window is small enough to hit that it almost never shows in DistributedStreamRehashTest, due to it requiring state transfer to begin and complete between the start and and completion of iteration, which is a hard task when it actually has to move entries.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list