[infinispan-issues] [JBoss JIRA] (ISPN-3287) Possible inconsistency with concurrent transactions during state transfer

Dan Berindei (JIRA) jira-events at lists.jboss.org
Mon Nov 18 10:35:08 EST 2013


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

Dan Berindei resolved ISPN-3287.
--------------------------------

    Fix Version/s: 6.0.0.CR1
       Resolution: Done


This is the same problem reported (and fixed) in ISPN-3443.
                
> Possible inconsistency with concurrent transactions during state transfer
> -------------------------------------------------------------------------
>
>                 Key: ISPN-3287
>                 URL: https://issues.jboss.org/browse/ISPN-3287
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Locking and Concurrency, State transfer
>    Affects Versions: 5.3.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>            Priority: Critical
>              Labels: 620
>             Fix For: 6.0.0.Final, 6.0.0.CR1
>
>
> It looks like there is a data race between the state transfer thread and a concurrent transaction in EntryWrappingInterceptor.commitEntryIfNeeded:
> tx: commitContextEntry()
> ST: stateConsumer.isKeyUpdated(k)? false
> tx: stateConsumer.addUpdatedKey(k)
> ST: commitContextEntry()
> We probably need some synchronization here, maybe using EquivalentConcurrentHashMapV8.computeIfAbsent().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list