]
Pedro Ruivo commented on ISPN-4073:
-----------------------------------
Clear consistency was relaxed. Closing this JIRA
clear() can create inconsistencies
----------------------------------
Key: ISPN-4073
URL:
https://issues.jboss.org/browse/ISPN-4073
Project: Infinispan
Issue Type: Bug
Affects Versions: 7.0.0.Alpha1
Reporter: Pedro Ruivo
Since the clear operation only acquires locks on the existing keys, it is possible for a
clear operation to execute concurrently with another operation that is adding a new key.
Since the lock on the new key is not acquired by the clear, some nodes can perform first
the clear then the operation and others vice-versa.