ascherbakoff commented on code in PR #7799:
URL: https://github.com/apache/ignite-3/pull/7799#discussion_r3062935475
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/WaitDieDeadlockPreventionPolicy.java:
##########
@@ -46,4 +47,19 @@ public Comparator<UUID> txIdComparator() {
public long waitTimeout() {
return 0;
}
+
+ @Override
+ public final Waiter allowWait(Waiter waiter, Waiter owner) {
+ int res = txIdComparator().compare(waiter.txId(), owner.txId());
Review Comment:
Done in all related places.
--
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]