Re: IgniteCache.containsKey does not acquire Transaction lock

2017-05-26 Thread vdpyatkov
Hi, cache.containsKey() never locking key (I checked it in Ignite version 1.7 till 2.0), but you can use simple cache.get(). This method (cache.get) will got a lock for particular key, even if returns null. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IgniteC

IgniteCache.containsKey does not acquire Transaction lock

2017-05-23 Thread Ramzinator
Hi all, I've recently upgraded to Ignite 2.0 and noticed that IgniteCache.containsKey no longer acquiring a transaction lock on the passed key. In my experience, it seemed to be the case in ignite 1.8 & 1.9. (Correct me if I'm wrong, I assume a containsKey is considered as a READ cache operation)