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

Mircea Markus (JIRA) jira-events at lists.jboss.org
Wed Oct 9 14:20:02 EDT 2013


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

Mircea Markus updated ISPN-3287:
--------------------------------

    Fix Version/s:     (was: 6.0.0.Final)

    
> 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
>
> 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