zhtaoxiang commented on code in PR #10359: URL: https://github.com/apache/pinot/pull/10359#discussion_r1128772640
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java: ########## @@ -712,6 +719,37 @@ public String getTableState( } } + @GET + @Produces(MediaType.APPLICATION_JSON) + @Authenticate(AccessType.UPDATE) + @Path("/rebalanceStatus/{jobId}") + @ApiOperation(value = "Gets detailed stats of a rebalance operation", + notes = "Gets detailed stats of a rebalance operation") + public ServerRebalanceJobStatusResponse rebalanceStatus(@ApiParam(value = "Rebalance Job Id", required = true) Review Comment: I feel that it's useful to add an API to list ongoing rebalance. It's useful after users invoke the rebalance API but they don't save it any where. Without the id, they cannot get the status anymore. -- 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