-
Notifications
You must be signed in to change notification settings - Fork 4.1k
kvserver: garbage collect uninitialized replicas #73424
Copy link
Copy link
Open
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)O-25.4-scale-testingscale testing issues reported by team drp for 25.4scale testing issues reported by team drp for 25.4O-testclusterIssues found or occurred on a test cluster, i.e. a long-running internal clusterIssues found or occurred on a test cluster, i.e. a long-running internal clusterT-kvKV TeamKV Team
Description
If uninitialized replicas do not end up being initialized (e.g. because the snapshot was cancelled or failed), there is currently no mechanism to garbage collect them. These replicas currently have a non-negligible cost (see related support issue) -- they're ticked (#73362) and also prevented from quiescing (#73397) -- but even when those costs are dealt with we should make sure they're removed eventually. If nothing else, to avoid the confusion of having them show up in range reports and such.
There's a stale PR for this in #47982, and further discussion in #73362 (comment).
Jira issue: CRDB-11582
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)O-25.4-scale-testingscale testing issues reported by team drp for 25.4scale testing issues reported by team drp for 25.4O-testclusterIssues found or occurred on a test cluster, i.e. a long-running internal clusterIssues found or occurred on a test cluster, i.e. a long-running internal clusterT-kvKV TeamKV Team