Pedro Ruivo created ISPN-8161:
---------------------------------
Summary: Inconsistent behavior with unsafe flags
Key: ISPN-8161
URL:
https://issues.jboss.org/browse/ISPN-8161
Project: Infinispan
Issue Type: Bug
Components: Core, L1, Transactions
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
There is a small inconsistency with unsafe flags and conditional commands when the cache
is transactions and L1 is enabled. Some conditional commands don't set the unsafe
flags while others do.
Unsafe flags are set to:
* putIfAbsent(k,v)
* replace(k,v)
and they aren't set for:
* remove(k, v)
* replace(k, v, v)
this brings to an inconsistent behavior. In a non-owner:
* a replace(k, v) will fetch the entry and *don't* store it in L1
* a replace(k, v, v) will fetch the entry and store it in L1
Proposed fix: don't set the unsafe flags for all the conditional commands.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)