Hello,

Consider I have below cache on server node

Cache
-----------
key,value
------------
1   | a
------------

>From client node1, I try to do put(1,a) and from client node2 I try to do
clear(1).

Are put and clear atomic, mean could this happen?

1. cliennode1 put operation identified that key with 1 exist and it decided
to update the value.
2. clientnode2 cleared the entry from cache
3. clientnode1 put operation now tries to update the entry with key 1

Reply via email to