[Subtask]: Supports forwarding OpenAPI requests to the master node in master-slave mode.#3969
[Subtask]: Supports forwarding OpenAPI requests to the master node in master-slave mode.#3969wardlican wants to merge 32 commits intoapache:masterfrom
Conversation
…lave mode is enabled. apache#3845
…lave mode is enabled. apache#3845
…on in master-slave mode. apache#3921
…on in master-slave mode. apache#3921
…on in master-slave mode. apache#3921
…on in master-slave mode. apache#3921
…AMS node for processing. apache#3928
…AMS node for processing. apache#3928
…per in master-slave mode. apache#3928
… master-slave mode. apache#3963
# Conflicts: # amoro-ams/src/main/java/org/apache/amoro/server/dashboard/DashboardServer.java # amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultTableService.java
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@amoro.apache.org list. Thank you for your contributions. |
|
Please help with the code review. |
# Conflicts: # amoro-ams/src/main/java/org/apache/amoro/server/ha/ZkHighAvailabilityContainer.java # amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultTableService.java # amoro-ams/src/main/resources/mysql/upgrade.sql # amoro-ams/src/main/resources/postgres/upgrade.sql # amoro-ams/src/test/java/org/apache/amoro/server/AMSServiceTestBase.java
…troduces a new solution for storing allocation information based on a database.
…troduces a new solution for storing allocation information based on a database.
# Conflicts: # amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultTableService.java
|
This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@amoro.apache.org list. Thank you for your contributions. |
|
This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time. |
Why are the changes needed?
In master-slave mode, requests from the slave node's OpenAPI will be automatically forwarded to the master node.
Close #3963.
Brief change log
Add the RequestForwarder class to intercept and forward requests in http.before.
How was this patch tested?
Add some test cases that check the changes thoroughly including negative and positive cases if possible
Add screenshots for manual tests if appropriate
Run test locally before making a pull request
Documentation