saurabhd336 commented on code in PR #10359: URL: https://github.com/apache/pinot/pull/10359#discussion_r1130868632
########## pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotSegmentRestletResource.java: ########## @@ -622,7 +622,8 @@ public SuccessResponse reloadSegmentDeprecated2( public ServerReloadControllerJobStatusResponse getReloadJobStatus( @ApiParam(value = "Reload job id", required = true) @PathParam("jobId") String reloadJobId) throws Exception { - Map<String, String> controllerJobZKMetadata = _pinotHelixResourceManager.getControllerJobZKMetadata(reloadJobId); + Map<String, String> controllerJobZKMetadata = _pinotHelixResourceManager. + getControllerJobZKMetadataResource(reloadJobId, ControllerJobType.RELOAD_SEGMENT.name()); Review Comment: This should reference both ControllerJobType.RELOAD_SEGMENT as well as ControllerJobType.RELOAD_ALL_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