Re: Locking rows within Ignite Transactions

2017-12-04 Thread Alexey Popov
Hi, Please note that cache.get(N) does not lock all "rows" inside a transaction. It just locks "row" with N key. Actually, you should not lock data that is not involved in the transaction. That is why the explicit lock is prohibited. It should be done out of transaction scope. If your case

Locking rows within Ignite Transactions

2017-12-04 Thread kotamrajuyashasvi
Hi I'm using Ignite Transactions(Ignite Version 2.1.0 and *TransactionConcurrency.PESSIMISTIC,TransactionIsolation.REPEATABLE_READ*") and after starting a transaction I need to lock certain rows. According to Ignite 2.1.0 Documentation *"Explicit locks are not transactional and cannot not be