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

[Summer of code] Add admin tools for controller mode #4388

Conversation

hzh0425
Copy link
Member

@hzh0425 hzh0425 commented May 27, 2022

What is the purpose of the change

Tracking issue: #4330

Brief changelog

Add two admin tools for controller mode:
image-20220527205604282

image

image

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.

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@hzh0425 hzh0425 mentioned this pull request May 27, 2022
12 tasks
@codecov-commenter
Copy link

codecov-commenter commented May 27, 2022

Codecov Report

Merging #4388 (71107fd) into 5.0.0-beta-dledger-controller (97e6cec) will decrease coverage by 0.23%.
The diff coverage is 0.00%.

@@                         Coverage Diff                         @@
##             5.0.0-beta-dledger-controller    #4388      +/-   ##
===================================================================
- Coverage                            43.54%   43.31%   -0.24%     
+ Complexity                            6348     6337      -11     
===================================================================
  Files                                  835      839       +4     
  Lines                                59369    59629     +260     
  Branches                              8094     8123      +29     
===================================================================
- Hits                                 25854    25829      -25     
- Misses                               30172    30460     +288     
+ Partials                              3343     3340       -3     
Impacted Files Coverage Δ
.../rocketmq/broker/hacontroller/ReplicasManager.java 0.00% <0.00%> (ø)
...ocketmq/broker/processor/AdminBrokerProcessor.java 25.64% <0.00%> (-0.21%) ⬇️
...g/apache/rocketmq/client/impl/MQClientAPIImpl.java 24.01% <0.00%> (-0.48%) ⬇️
...in/java/org/apache/rocketmq/common/EpochEntry.java 0.00% <ø> (ø)
...g/apache/rocketmq/common/protocol/RequestCode.java 0.00% <ø> (ø)
...rocketmq/common/protocol/body/EpochEntryCache.java 0.00% <0.00%> (ø)
...rocketmq/common/protocol/body/InSyncStateData.java 0.00% <0.00%> (ø)
...he/rocketmq/controller/impl/DledgerController.java 72.67% <0.00%> (-0.86%) ⬇️
...cketmq/controller/impl/event/ControllerResult.java 68.00% <0.00%> (-5.92%) ⬇️
...q/controller/impl/manager/ReplicasInfoManager.java 61.80% <0.00%> (-6.15%) ⬇️
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97e6cec...71107fd. Read the comment docs.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.3%) to 47.5% when pulling 71107fd on hzh0425:feature/controller-tools into 97e6cec on apache:5.0.0-beta-dledger-controller.

@RongtongJin RongtongJin merged commit e0121ca into apache:5.0.0-beta-dledger-controller Jun 1, 2022
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.

4 participants