[infinispan-issues] [JBoss JIRA] (ISPN-9332) REPL local iteration optimization cannot be used when store has write behind

William Burns (JIRA) issues at jboss.org
Tue Sep 11 09:20:00 EDT 2018


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

William Burns commented on ISPN-9332:
-------------------------------------

It should, the problem is that while the "clear" state is installed the existing code ignored other writes applied to that state. Thus a previous test would leak into the next. The fix is very simple, just moving one line up :) https://github.com/infinispan/infinispan/pull/6244/files#diff-2da6dcbf13ecb9f96b80d0a1eb07ff52R73

> REPL local iteration optimization cannot be used when store has write behind
> ----------------------------------------------------------------------------
>
>                 Key: ISPN-9332
>                 URL: https://issues.jboss.org/browse/ISPN-9332
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Loaders and Stores, Streams
>    Affects Versions: 9.3.0.Final
>            Reporter: William Burns
>            Assignee: William Burns
>             Fix For: 9.4.0.Final
>
>
> When write behind is enabled, the write modification is stored on the primary owner. REPL local iteration can read from non owned data, thus causing an inconsistency.
> Thus distributed streams should always go remote when not all segments are primarily owned on a given node when write behind is enabled.



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


More information about the infinispan-issues mailing list