Skip to content

kv: reduce latch contention for GCRequest #24237

@tbg

Description

@tbg

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

Metadata

Metadata

Assignees

Labels

A-kv-transactionsRelating to MVCC and the transactional model.C-performancePerf of queries or internals. Solution not expected to change functional behavior.T-kvKV Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions