]
RH Bugzilla Integration updated ISPN-3677:
------------------------------------------
Bugzilla Update: Perform
Bugzilla References:
With optimistic TX, conditional commands may wrongly succeed
------------------------------------------------------------
Key: ISPN-3677
URL:
https://issues.jboss.org/browse/ISPN-3677
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 6.0.0.CR1
Reporter: Radim Vansa
Assignee: Mircea Markus
Priority: Critical
Situation with optimistic TX, originator = entry's primary owner:
1. The conditional check suceeds when the command is executed
2. In TxDistributionInterceptor, ignorePreviousValue is set to true
3. The command is then enlisted in the modifications list with the ignorePreviousValue
set to true
4. During the prepare/commit phase the command ignores the condition
Result:
Two commands, replace(key, A, B), replace(key, A, C) may both overwrite the entry (and
the one committed later wins, actually overwriting B instead of A).
--
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: