Skip to content
Snippets Groups Projects
Unverified Commit 129c2f32 authored by tianqingzhao's avatar tianqingzhao Committed by GitHub
Browse files

optimize: optimize collectRowLocks method (#3909)

parent 32950033
No related branches found
No related tags found
No related merge requests found
......@@ -122,13 +122,14 @@ public abstract class AbstractLockManager implements LockManager {
if (branchSession == null || StringUtils.isBlank(branchSession.getLockKey())) {
return locks;
}
String xid = branchSession.getXid();
String resourceId = branchSession.getResourceId();
long transactionId = branchSession.getTransactionId();
String lockKey = branchSession.getLockKey();
String resourceId = branchSession.getResourceId();
String xid = branchSession.getXid();
long transactionId = branchSession.getTransactionId();
long branchId = branchSession.getBranchId();
return collectRowLocks(lockKey, resourceId, xid, transactionId, branchSession.getBranchId());
return collectRowLocks(lockKey, resourceId, xid, transactionId, branchId);
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment