Repository navigation
Issue #8533: Change method getWebServiceUrl into async - #8746
Conversation
|
/pulsarbot run-failure-checks |
getWebServiceUrl into asyncgetWebServiceUrl into async
getWebServiceUrl into asyncgetWebServiceUrl into async
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
Unit Brokers - Broker Group 1 / ut CI - Unit - Brokers - Client Impl / unit-tests (pull_request) CI - Integration - Sql / sql (pull_request) |
zymap
left a comment
There was a problem hiding this comment.
There are a lot of tests failed by the internal server error, could you please verify those tests is affected by your changes?
|
/pulsarbot run-failure-checks |
4 similar comments
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
/pulsarbot run-failure-checks |
|
There has a fix for the integration tests cli. If it failed again, please rebase your code. |
b33b644 to
c64aa08
Compare
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
@reswqa Would you please help update your branch with latest master? |
|
/pulsarbot run-failure-checks |
1 similar comment
|
/pulsarbot run-failure-checks |
|
Too many conflicts with the checkstyle changes, remove from release/2.7.1 |
*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 apache#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.
*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.
*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. (cherry picked from commit aaa27c3)
*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 apache#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.
fix #8533 , modified only issue-related method, may need to change all calls in this section to asynchronous later.