-
Notifications
You must be signed in to change notification settings - Fork 11.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE #5921] Support domain resolution to obtain the controller address #5922
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test case not pass, Please check
Codecov Report
@@ Coverage Diff @@
## develop #5922 +/- ##
=============================================
+ Coverage 43.36% 43.38% +0.01%
- Complexity 8810 8815 +5
=============================================
Files 1090 1090
Lines 76407 76416 +9
Branches 9981 9982 +1
=============================================
+ Hits 33135 33150 +15
+ Misses 39126 39120 -6
Partials 4146 4146
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM~
broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java
Outdated
Show resolved
Hide resolved
broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java
Outdated
Show resolved
Hide resolved
Hi @Oliverwqcwrw, I have fixed the typo error, Plz check again. |
…frequently causing thread blocking when the network partition (#5930) * Fix the issue that broker send heartbeat to controller frequently causing thread blocking when the network partition * Fix the ReplicasManagerTest can not pass * Reslove conflict with #5922 * Fix code style * Rename isAddressCanConnect to isAddressReachable * Rename isAddressCanConnect to isAddressReachable
…r address (apache#5922) * Support domain resolution to obtain the controller address * Remove useless import * Fix testLookupAddressByDomain can not pass * Fix typo error
…oller frequently causing thread blocking when the network partition (apache#5930) * Fix the issue that broker send heartbeat to controller frequently causing thread blocking when the network partition * Fix the ReplicasManagerTest can not pass * Reslove conflict with apache#5922 * Fix code style * Rename isAddressCanConnect to isAddressReachable * Rename isAddressCanConnect to isAddressReachable
…ess (#5922) * Support domain resolution to obtain the controller address * Remove useless import * Fix testLookupAddressByDomain can not pass * Fix typo error
…frequently causing thread blocking when the network partition (#5930) * Fix the issue that broker send heartbeat to controller frequently causing thread blocking when the network partition * Fix the ReplicasManagerTest can not pass * Reslove conflict with #5922 * Fix code style * Rename isAddressCanConnect to isAddressReachable * Rename isAddressCanConnect to isAddressReachable
Make sure set the target branch to
develop
What is the purpose of the change
Close #5921
Support domain resolution to obtain the controller address
Brief changelog
Support domain resolution to obtain the controller address
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice,
it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR
.[ISSUE #123] Fix UnknownException when host config not exist
. Each commit in the pull request should have a meaningful subject line and body.mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle
to make sure basic checks pass. Runmvn clean install -DskipITs
to make sure unit-test pass. Runmvn clean test-compile failsafe:integration-test
to make sure integration-test pass.