-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kvserver/batcheval: optimize range tombstone GC latches #84576
Copy link
Copy link
Closed
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-kv-replicationRelating to Raft, consensus, and coordination.Relating to Raft, consensus, and coordination.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)