Skip to content
This repository was archived by the owner on Oct 22, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,7 @@ private void resolvePessimisticLock(BackOffer bo, Lock lock, Set<RegionVerID> cl
private TxnStatus getTxnStatusFromLock(BackOffer bo, Lock lock, long callerStartTS) {
long currentTS;

if (lock.isUseAsyncCommit()) {
// Async commit doesn't need the current ts since it uses the minCommitTS.
currentTS = 0;
// Set to 0 so as not to push forward min commit ts.
callerStartTS = 0;
} else if (lock.getTtl() == 0) {
if (lock.getTtl() == 0) {
// NOTE: l.TTL = 0 is a special protocol!!!
// When the pessimistic txn prewrite meets locks of a txn, it should resolve the lock
// **unconditionally**.
Expand Down