somandal opened a new pull request, #15050: URL: https://github.com/apache/pinot/pull/15050
This PR adds a `summary` option to the TableRebalance API which is meant to be used with `dryRun`. If `summary` is set to `true` a summary of the dry-run is returned rather than the full dry-run. This summary gives some stats about changes that will occur during the rebalance, such as: - Total number of segments to be moved - Total number of segments - Replication factor - Number of servers - Server map to segment add/remove/unchanged information As a separate PR, the following will be added as well: - Total data size being moved (calculated based on average segment size) - An estimate of how long the move can take (based on estimates to download and process each segment) Today the dry-run output can be very large, and can be difficult to make sense of in terms of the changes occurring. It can also be difficult to display the full output. For now `summary` is not appended to `dryRun` without `summary` enabled, but this can be added if it makes sense to add a summary even for the usual result return. Note: This PR will have conflicts with https://github.com/apache/pinot/pull/15029 and will need to be rebased once that is merged. cc @Jackie-Jiang @klsince @deepthi912 @npawar -- 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