Skip to content

Commit 27d904e

Browse files
githubgxllguojn1
authored andcommitted
[fix][dingo-executor] Fix resolve lock issue
1 parent f13ebc8 commit 27d904e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dingo-store-proxy/src/main/java/io/dingodb/store/utils/ResolveLockUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ public static TxnStatus getTxnStatus(long txnID, byte[] primaryKey, long current
222222
LogUtils.warn(log, "startTs:{}, {} txnResult primaryLock is null ",
223223
opts.getCallerStartTS(), opts.getFunName());
224224
} else if (primaryLock.isUseAsyncCommit() && !opts.isForceSyncCommit()) {
225+
lockTtl = primaryLock.getLockTtl();
225226
if (!TsoService.INSTANCE.IsExpired(lockTtl)) {
226227
status.setTtl(lockTtl);
227228
}

0 commit comments

Comments
 (0)