concurrency: optimistic evaluation does not make use of lock modes #108142
Labels
A-kv-transactions
Relating to MVCC and the transactional model.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-kv
KV Team
Describe the problem
Optimistic evaluation performs conflict resolution post evaluation, using
CheckOptimisticNoConflicts
. Eventually, this function finds itself inisNonConflictingLock
, which does not use lock modes to check for conflicts:cockroach/pkg/kv/kvserver/concurrency/lock_table.go
Lines 2362 to 2371 in dc28e19
It should.
Jira issue: CRDB-30327
The text was updated successfully, but these errors were encountered: