Hi,

I think it depends of transaction type (optimistic / pessimistic).
Pessimistic transaction gets a lock from key at first attempt to access and
last operation (getAndPutIfAbsent) on this key will by able to perform after
commit previous transaction only.
At optimistic transaction all be occur as you say.



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-getAndPutIfAbsent-works-within-a-transaction-tp7819p7826.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to