```java
  @Override
  public BalancerSegmentHolder pickSegmentToMove(final List<ServerHolder> 
serverHolders)
  {
    ReservoirSegmentSampler sampler = new ReservoirSegmentSampler();
    return sampler.getRandomBalancerSegmentHolder(serverHolders);
  }
```
I see a probability here that the coordinator peaks the same segment several 
times within a single rebalancing phase as nothing keeps the record of selected 
segments.

[ Full content available at: 
https://github.com/apache/incubator-druid/issues/6329 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to