denis-chudov commented on code in PR #7970:
URL: https://github.com/apache/ignite-3/pull/7970#discussion_r3093845600


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/HeapLockManager.java:
##########
@@ -871,6 +881,8 @@ IgniteBiTuple<CompletableFuture<Void>, LockMode> 
tryAcquire(UUID txId, LockMode
                         track(waiter.txId, this);
                     }
 
+                    assertLockModeHeldCount();

Review Comment:
   `release` flow seems to stay uncovered by this fix. Meanwhile, there is also 
a usage of heavy method under lock: `unlockCompatibleWaiters`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to