Skip to content
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 #8609] Add the BrokerConfig updateNameServerAddrPeriod #8626

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

qianye1001
Copy link
Contributor

…ddress can be configured.

Which Issue(s) This PR Fixes

Fixes #8609

Brief Description

How Did You Test This Change?

lizhimins
lizhimins previously approved these changes Sep 3, 2024
lollipopjin
lollipopjin previously approved these changes Sep 3, 2024
Copy link
Contributor

@lollipopjin lollipopjin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

/**
* This configurable item defines interval of update name server address. Default: 120 * 1000 milliseconds
*/
private int updateNameServerAddrPeriod = 1000 * 120;
Copy link
Contributor

@RongtongJin RongtongJin Sep 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming updateNameServerAddrInterval would be better

RongtongJin
RongtongJin previously approved these changes Sep 3, 2024
…e#8633)

* Skip flaky tests on macOS

* Trigger ci

* Remove branch trigger
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 47.19%. Comparing base (720c87e) to head (d0c8129).
Report is 2 commits behind head on develop.

Files with missing lines Patch % Lines
.../java/org/apache/rocketmq/common/BrokerConfig.java 25.00% 3 Missing ⚠️
...a/org/apache/rocketmq/broker/BrokerController.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #8626      +/-   ##
=============================================
- Coverage      47.28%   47.19%   -0.10%     
+ Complexity     11485    11460      -25     
=============================================
  Files           1277     1277              
  Lines          89425    89430       +5     
  Branches       11502    11502              
=============================================
- Hits           42289    42207      -82     
- Misses         41946    42015      +69     
- Partials        5190     5208      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lizhimins lizhimins merged commit 5d43e7d into apache:develop Sep 4, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] The time interval for the broker to query the namesrv address can be configured.
6 participants