aloyszhang commented on a change in pull request #13796:
URL: https://github.com/apache/pulsar/pull/13796#discussion_r819461794
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/Namespaces.java
##########
@@ -570,18 +571,34 @@ public void splitNamespaceBundle(
@PathParam("bundle") String bundleRange,
@QueryParam("authoritative") @DefaultValue("false") boolean
authoritative,
@QueryParam("unload") @DefaultValue("false") boolean unload,
- @QueryParam("splitAlgorithmName") String splitAlgorithmName) {
-
+ @QueryParam("splitAlgorithmName") String splitAlgorithmName,
+ @ApiParam("splitBoundaries") List<Long> splitBoundaries) {
try {
validateNamespaceName(tenant, namespace);
- internalSplitNamespaceBundle(asyncResponse, bundleRange,
authoritative, unload, splitAlgorithmName);
+ internalSplitNamespaceBundle(asyncResponse,
+ bundleRange, authoritative, unload, splitAlgorithmName,
splitBoundaries);
Review comment:
add check for empty `splitBoundaries `
--
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]