Should result in a TransactionOptimisticException.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/How-getAndPutIfAbsent-works-within-a-transaction-tp7819p7849.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
In case of optimistic transaction last commit (step 6) will fail?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/How-getAndPutIfAbsent-works-within-a-transaction-tp7819p7830.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
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 a