ascherbakoff commented on code in PR #7799:
URL: https://github.com/apache/ignite-3/pull/7799#discussion_r3062933814


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -1031,13 +1035,35 @@ public void processDelayedAck(Object ignored, @Nullable 
Throwable err) {
 
     @Override
     public CompletableFuture<Void> startAsync(ComponentContext 
componentContext) {
-        var deadlockPreventionPolicy = new 
DeadlockPreventionPolicyImpl(DEFAULT_TX_ID_COMPARATOR, DEFAULT_LOCK_TIMEOUT);
+        var deadlockPreventionPolicy = new WoundWaitDeadlockPreventionPolicy() 
{

Review Comment:
   I don't want to change anything here right now. Probably we need some 
refactorig, but the intention is not clear to me.
   No, there are no plans to make DEFAULT_LOCK_TIMEOUT configurable.
   I've created a ticket IGNITE-28507



-- 
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