[infinispan-issues] [JBoss JIRA] (ISPN-3287) Possible inconsistency with concurrent transactions during state transfer
Dan Berindei (JIRA)
jira-events at lists.jboss.org
Mon Jul 1 11:52:20 EDT 2013
Dan Berindei created ISPN-3287:
----------------------------------
Summary: 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
Fix For: 6.0.0.Final
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