-
Notifications
You must be signed in to change notification settings - Fork 11.9k
[ISSUE #3798] Support container in DLedger. #4100
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
Conversation
Codecov Report
@@ Coverage Diff @@
## 5.0.0-beta #4100 +/- ##
================================================
- Coverage 43.09% 43.09% -0.01%
- Complexity 6014 6026 +12
================================================
Files 795 795
Lines 56825 56859 +34
Branches 7780 7787 +7
================================================
+ Hits 24491 24504 +13
- Misses 29142 29169 +27
+ Partials 3192 3186 -6
Continue to review full report at Codecov.
|
@RongtongJin Hi, can you help me to review this pr? |
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.
It seems that removeBroker didn't do anything for dledger? In addition, maybe we need to modify admin(addBroker, removeBroker) comments or functions synchronously.
if (previousBroker == null) { | ||
// New master broker added, start it | ||
try { | ||
BrokerLogbackConfigurator.doConfigure(brokerConfig); |
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.
The log will be separated by BrokerClusterName_ BrokerName_BrokerId, but the brokerId will change in the dledger mode. There may be a problem here.
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.
The log will be separated by BrokerClusterName_ BrokerName_BrokerId, but the brokerId will change in the dledger mode. There may be a problem here.
@RongtongJin Yes, you are right! I think that we can use BrokerIdentity
to replace it in doConfigure
, so that we can use dLedgerId to replace brokerId.
@RongtongJin Thanks for the reminder, I forgot to add it in this method. |
a99a2bc
to
e5bef12
Compare
e5bef12
to
4da0c78
Compare
LGTM~ |
Make sure set the target branch to
develop
What is the purpose of the change
Issue #3798
Brief changelog
XX
Verifying this change
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.