gaozhangmin opened a new pull request #12957:
URL: https://github.com/apache/pulsar/pull/12957


   
   ### Motivation
   
   Pr  #12378 Provided an option to split bundle based on load, there are 2 
problems:
   1、Method `getBundleWithHighestThroughput` returned a bundle which not owned 
by any broker, split would be failed.
   
   ```
   11:46:23.080 [AsyncHttpClient-7-1] WARN  
org.apache.pulsar.client.admin.internal.BaseResource - 
[http://localhost:8080/admin/v2/namespaces/public/default/HOT/split?unload=false]
 Failed to perform http put request: javax.ws.rs.ClientErrorException: HTTP 412 
Precondition Failed
   Failed to find ownership for ServiceUnit:public/default/0x00000000_0x10000000
   
   Reason: Failed to find ownership for 
ServiceUnit:public/default/0x00000000_0x10000000
   ```
   2、incorrect  bundle-data path.
   ### Modifications
   
   correct the above errors
   
   
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [ ] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


-- 
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]


Reply via email to