kangkaisen commented on pull request #4771: URL: https://github.com/apache/incubator-doris/pull/4771#issuecomment-719382510
In Apache Druid. https://github.com/apache/druid/blob/master/server/src/main/java/org/apache/druid/server/coordinator/BalancerStrategy.java `pickSegmentToMove` will choose which tablet replica to balance, naturally, the BE for the tablet replica is the src backend. `findNewSegmentHomeBalancer` will choose the dest backend. I think the Apache Druid `BalancerStrategy` interface logic and naming is clear. ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org