sijie opened a new pull request #9228:
URL: https://github.com/apache/pulsar/pull/9228


   *Motivation*
   
   `validateNamespaceBundleOwnership` throws a web application exception with 
`Response.temporaryRedirect(redirect)`
   to redirect the request to the owner broker. But the web application 
exception is a runtime exception. If you don't
   handle and propagate it correctly, it will cause web request to be hang.
   
   PR #8746 changed some web calls to async but it doesn't handle the web 
application exception. It causes `topics list`
   with non-persistent topics to be hang.
   
   This pull request make sure the callers of 
`validateNamespaceBundleOwnership` catch and propagate the exceptions to
   web response.
   
   
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to