Skip to content

kvserver/batcheval: optimize range tombstone GC latches #84576

@aliher1911

Description

@aliher1911

Currently range tombstone GC takes readwrite latches for range tombstones it tries to collect. This is usually broad as range tombstones are used to delete whole ranges.

Once latchless GC change lands (#83213), we can optimize range key GC requests to only get read latches to preserve range boundaries for the same of MVCC stats calculations, but don't prevent reads.

Jira issue: CRDB-17743

Epic CRDB-2624

Metadata

Metadata

Assignees

Labels

A-kv-replicationRelating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions