J-HowHuang commented on code in PR #15110:
URL: https://github.com/apache/pinot/pull/15110#discussion_r1984399204
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java:
##########
@@ -615,6 +615,9 @@ public RebalanceResult rebalance(
@QueryParam("reassignInstances") boolean reassignInstances,
@ApiParam(value = "Whether to reassign CONSUMING segments for real-time
table") @DefaultValue("false")
@QueryParam("includeConsuming") boolean includeConsuming,
+ @ApiParam(value = "If `minimizeDataMovement` is set to false in the
table config, set this to true to enforce"
+ + " minimizeDataMovement during the rebalance.")
@DefaultValue("true")
+ @QueryParam("forceMinimizeDataMovement") boolean
forceMinimizeDataMovement,
Review Comment:
It would be possible to have minimizeDataMovement algorithm take place
though `minimizeDataMovement=false`, which is misleading. That's why I added
"force" to clarify it.
--
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]