From af64a4a3d65fe44504a746fc6436fcbff358e812 Mon Sep 17 00:00:00 2001 From: Nathan VanBenschoten Date: Mon, 4 Apr 2022 14:57:53 -0400 Subject: [PATCH] kv: remove stale comment in processOneChange The comment was added in 2fb56bd and hasn't been accurate since 5178559. --- pkg/kv/kvserver/replicate_queue.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/kv/kvserver/replicate_queue.go b/pkg/kv/kvserver/replicate_queue.go index c1165751fba6..45a5809e7220 100644 --- a/pkg/kv/kvserver/replicate_queue.go +++ b/pkg/kv/kvserver/replicate_queue.go @@ -542,8 +542,6 @@ func (rq *replicateQueue) processOneChange( // range descriptor. desc, conf := repl.DescAndSpanConfig() - // Avoid taking action if the range has too many dead replicas to make quorum. - // Consider stores marked suspect as live in order to make this determination. voterReplicas := desc.Replicas().VoterDescriptors() nonVoterReplicas := desc.Replicas().NonVoterDescriptors() liveVoterReplicas, deadVoterReplicas := rq.allocator.storePool.liveAndDeadReplicas(