ascherbakoff commented on code in PR #7799:
URL: https://github.com/apache/ignite-3/pull/7799#discussion_r3062642339
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/HeapLockManager.java:
##########
@@ -1072,45 +1187,44 @@ private List<WaiterImpl> release(UUID txId) {
*
* @return List of waiters to notify.
*/
- private List<WaiterImpl> unlockCompatibleWaiters() {
- if (!deadlockPreventionPolicy.usePriority() &&
deadlockPreventionPolicy.waitTimeout() == 0) {
+ private List<Runnable> unlockCompatibleWaiters() {
+ if (waiters.isEmpty()) {
return emptyList();
}
- ArrayList<WaiterImpl> toNotify = new ArrayList<>();
- Set<UUID> toFail = new HashSet<>();
+ ArrayList<Runnable> toNotify = new ArrayList<>();
Review Comment:
🆗
--
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]