ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdpyatkov <vldpyat...@gmail.com>
Subject Re: How getAndPutIfAbsent works within a transaction
Date Mon, 19 Sep 2016 12:19:58 GMT

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.

View raw message