-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kv: reduce latch contention for GCRequest #24237
Copy link
Copy link
Closed
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-kvKV TeamKV Team
Description
GCRequest is special in that it only affects data that is not observable by regular reads and writes. As such, they shouldn't need command queue serialization with anything else.
@nvanbenschoten pointed this out in #24209.
The effects of these optimizations should be observable in tests like #24236.
Jira issue: CRDB-5778
Reactions are currently unavailable
Metadata
Metadata
Labels
A-kv-transactionsRelating to MVCC and the transactional model.Relating to MVCC and the transactional model.C-performancePerf of queries or internals. Solution not expected to change functional behavior.Perf of queries or internals. Solution not expected to change functional behavior.T-kvKV TeamKV Team