klsince commented on code in PR #14544: URL: https://github.com/apache/pinot/pull/14544#discussion_r1861278191
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java: ########## @@ -678,6 +699,81 @@ public SuccessResponse reloadAllSegments( return new SuccessResponse(JsonUtils.objectToString(perTableMsgData)); } + @POST + @Path("segments/{tableName}/batchReload") + @Authorize(targetType = TargetType.TABLE, paramName = "tableName", action = Actions.Table.RELOAD_SEGMENT) + @Authenticate(AccessType.UPDATE) + @Produces(MediaType.APPLICATION_JSON) + @ApiOperation(value = "Reload with a map from instances to segments for more flexible control", notes = "Reload " + + "with a map from instances to segments for more flexible control") + public SuccessResponse reloadSegments( Review Comment: Should be doable. I didn’t try harder as the new batch reload API submits multiple reload jobs to track reload progress on each instance, as each instance may work in different set of segments. -- 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