You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2017/10/25 06:09:15 UTC

[GitHub] rdhabalia commented on a change in pull request #857: Introduce auto bundle split and unloading of split bundle in ModularLoadManager

rdhabalia commented on a change in pull request #857: Introduce auto bundle split and unloading of split bundle in ModularLoadManager
URL: https://github.com/apache/incubator-pulsar/pull/857#discussion_r146762198
 
 

 ##########
 File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/Namespaces.java
 ##########
 @@ -838,7 +838,8 @@ public void unloadNamespaceBundle(@PathParam("property") String property, @PathP
     @ApiResponses(value = { @ApiResponse(code = 403, message = "Don't have admin permission") })
     public void splitNamespaceBundle(@PathParam("property") String property, @PathParam("cluster") String cluster,
             @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange,
-            @QueryParam("authoritative") @DefaultValue("false") boolean authoritative) {
+            @QueryParam("authoritative") @DefaultValue("false") boolean authoritative,
+            @QueryParam("unload") @DefaultValue("false") boolean unload) {
 
 Review comment:
   That's correct but this admin-api is triggered by load-balancer and cli-tool. Sometimes we might want to just split the bundle using cli-tool without unloading it. Therefore, this query-param can give flexibility to perform accordingly.??

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services