Skip to content

Commit

Permalink
kvserver: remove rotten comment inside AdminRelocateRange
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
aayush authored and aayushshah15 committed Mar 26, 2021
1 parent cafa371 commit 7c08e57
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/kv/kvserver/replica_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -2860,11 +2860,6 @@ func (s *Store) relocateOne(
// allocator about this because we want to respect the constraints. For
// example, it would be unfortunate if we put two replicas into the same zone
// despite having a locality- preserving option available.
//
// TODO(radu): we can't have multiple replicas on different stores on the
// same node, and this code doesn't do anything to specifically avoid that
// case (although the allocator will avoid even trying to send snapshots to
// such stores), so it could cause some failures.
args := getRelocationArgs()
existingVoters := desc.Replicas().VoterDescriptors()
existingNonVoters := desc.Replicas().NonVoterDescriptors()
Expand Down

0 comments on commit 7c08e57

Please sign in to comment.