J-HowHuang commented on code in PR #16341:
URL: https://github.com/apache/pinot/pull/16341#discussion_r2211463371


##########
pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalancer.java:
##########
@@ -387,6 +391,24 @@ private RebalanceResult doRebalance(TableConfig 
tableConfig, RebalanceConfig reb
           tierToInstancePartitionsMap, targetAssignment, preChecksResult, 
summaryResult);
     }
 
+    if (downtime && 
!StringUtils.isEmpty(tableConfig.getValidationConfig().getPeerSegmentDownloadScheme()))
 {

Review Comment:
   I mean, because we see `peerSegmentDownloadScheme=""` as a valid value that 
enables peer download on the server side, the `StringUtils.isEmpty()` here will 
overlook the peer enabled tables whose `peerSegmentDownloadScheme=""`



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to