We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36b30ff commit c3d00d7Copy full SHA for c3d00d7
pkg/kv/kvserver/concurrency/lock_table.go
@@ -1495,9 +1495,6 @@ func (tl *txnLock) writeTS() hlc.Timestamp {
1495
// lock strength == lock.Exclusive. Note that unreplicated locks can't be held
1496
// with lock strength lock.Intent.
1497
if tl.isHeldUnreplicated() && tl.unreplicatedInfo.held(lock.Exclusive) {
1498
- // If there's both a write intent and an unreplicated exclusive lock, we want
1499
- // to prefer the lower of the two timestamps, since the lower timestamp
1500
- // blocks more non-locking readers.
1501
return tl.unreplicatedInfo.ts
1502
}
1503
return hlc.MaxTimestamp
0 commit comments