Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 58ccadd

Browse files
committed
fix ddd broken in b908eaf
1 parent da7d6d5 commit 58ccadd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

multimaster.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5748,6 +5748,12 @@ MtmDetectGlobalDeadLockForXid(TransactionId xid)
57485748
// enable_timeout_after(DEADLOCK_TIMEOUT, DeadlockTimeout);
57495749
// }
57505750
// }
5751+
5752+
if (!hasDeadlock)
5753+
{
5754+
MTM_LOG1("Enable deadlock timeout in backend %d for transaction %llu", MyProcPid, (long64)xid);
5755+
enable_timeout_after(DEADLOCK_TIMEOUT, DeadlockTimeout);
5756+
}
57515757
}
57525758
return hasDeadlock;
57535759
}

0 commit comments

Comments
 (0)