sanpwc commented on code in PR #4835: URL: https://github.com/apache/ignite-3/pull/4835#discussion_r1883427161
########## modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/HeapLockManager.java: ########## @@ -282,6 +298,14 @@ private LockState lockState(LockKey key) { if (v == null) { res[0] = slots[index]; assert !res[0].markedForRemove; + + long currentTs = coarseCurrentTimeMillis(); + + long previousTs = lastTsPintWarn.get(); + + if ((currentTs - previousTs) > warningPrintInterval && lastTsPintWarn.compareAndSet(previousTs, currentTs)) { Review Comment: I'd expect that we will release some locks on conflicts and thus cleanup some slots. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org