Jackie-Jiang commented on code in PR #11073: URL: https://github.com/apache/pinot/pull/11073#discussion_r1260421100
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/rebalance/TableRebalancer.java: ########## @@ -226,7 +226,12 @@ public RebalanceResult rebalance(TableConfig tableConfig, Configuration rebalanc // Calculate instance partitions map Map<InstancePartitionsType, InstancePartitions> instancePartitionsMap; + Map<InstancePartitionsType, InstancePartitions> existingInstancePartitionsMap = null; try { + if (reassignInstances) { + existingInstancePartitionsMap = Review Comment: (Code format) Please reformat the changes with [Pinot Style](https://docs.pinot.apache.org/developers/developers-and-contributors/code-setup#setup-ide) -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org