Technoboy- commented on code in PR #16412:
URL: https://github.com/apache/pulsar/pull/16412#discussion_r921728220
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java:
##########
@@ -2247,49 +2242,18 @@ public void
removeNamespaceResourceGroup(@PathParam("tenant") String tenant,
@ApiOperation(value = "Trigger the scan of offloaded Ledgers on the
LedgerOffloader for the given namespace")
@ApiResponses(value = { @ApiResponse(code = 403, message = "Don't have
admin permission"),
@ApiResponse(code = 404, message = "Namespace doesn't exist") })
- public Response scanOffloadedLedgers(@PathParam("tenant") String tenant,
- @PathParam("namespace") String namespace) {
+ public void scanOffloadedLedgers(@Suspended final AsyncResponse
asyncResponse,
+ @PathParam("tenant") String tenant,
+ @PathParam("namespace") String namespace)
{
validateNamespaceName(tenant, namespace);
- try {
- StreamingOutput output = (outputStream) -> {
Review Comment:
ok
--
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]