Lalant commented on code in PR #7304:
URL: https://github.com/apache/ignite-3/pull/7304#discussion_r2730830041


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/HeapLockManager.java:
##########
@@ -376,9 +384,12 @@ private static List<Lock> collectLocksFromStates(UUID 
txId, ConcurrentLinkedQueu
      * @param holder Lock holder.
      * @return Lock exception.
      */
-    private static LockException abandonedLockException(UUID locker, UUID 
holder) {
+    private static LockException abandonedLockException(UUID locker, UUID 
holder, VolatileTxStateMetaStorage storage) {
         return new LockException(ACQUIRE_LOCK_ERR,
-                "Failed to acquire an abandoned lock due to a possible 
deadlock [locker=" + locker + ", holder=" + holder + ']');
+                format(
+                        "Failed to acquire an abandoned lock due to a possible 
deadlock [locker={}, holder={}]",
+                        formatTxInfo(locker, storage), formatTxInfo(holder, 
storage)
+                ));

Review Comment:
   Done



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