Skip to content

Commit

Permalink
fix: resolved_locks in unistore.cophandler
Browse files Browse the repository at this point in the history
Signed-off-by: ekexium <eke@fastmail.com>
  • Loading branch information
ekexium committed Apr 9, 2024
1 parent c46a40e commit 22af508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/mockstore/unistore/cophandler/closure_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ func safeCopy(b []byte) []byte {
}

func checkLock(lock mvcc.Lock, key []byte, startTS uint64, resolved []uint64) error {
if isResolved(startTS, resolved) {
if isResolved(lock.StartTS, resolved) {
return nil
}
lockVisible := lock.StartTS < startTS
Expand Down

0 comments on commit 22af508

Please sign in to comment.