You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/06/25 04:37:55 UTC
[GitHub] [druid] pjain1 commented on a change in pull request #10070: Fix balancer strategy
pjain1 commented on a change in pull request #10070:
URL: https://github.com/apache/druid/pull/10070#discussion_r445302030
##########
File path: server/src/main/java/org/apache/druid/server/coordinator/RandomBalancerStrategy.java
##########
@@ -28,20 +28,22 @@
import java.util.NavigableSet;
import java.util.Set;
import java.util.concurrent.ThreadLocalRandom;
+import java.util.stream.Collectors;
public class RandomBalancerStrategy implements BalancerStrategy
{
@Override
public ServerHolder findNewSegmentHomeReplicator(DataSegment proposalSegment, List<ServerHolder> serverHolders)
Review comment:
It is marked as Nullable in super class `BalancerStrategy`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org