Skip to content

[Dubbo-4991] Fix zk client create logic#5139

Merged
chickenlj merged 3 commits intoapache:masterfrom
htynkn:bugfix/handle-zk-by-full-path
Feb 7, 2020
Merged

[Dubbo-4991] Fix zk client create logic#5139
chickenlj merged 3 commits intoapache:masterfrom
htynkn:bugfix/handle-zk-by-full-path

Conversation

@htynkn
Copy link
Copy Markdown
Member

@htynkn htynkn commented Oct 6, 2019

What is the purpose of the change

Fix #4991

Brief changelog

Use username+password+address as zk client cache map key

Verifying this change

CI pass
More detail refer to issue detail

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a GITHUB_issue field 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 [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. 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 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 sample in dubbo samples project.
  • Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
  • If this contribution is large, please follow the Software Donation Guide.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Oct 10, 2019

Codecov Report

Merging #5139 into master will decrease coverage by 0.09%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             master   #5139     +/-   ##
==========================================
- Coverage      61.3%   61.2%   -0.1%     
+ Complexity      427     423      -4     
==========================================
  Files           919     919             
  Lines         37487   37502     +15     
  Branches       5461    5465      +4     
==========================================
- Hits          22980   22954     -26     
- Misses        12003   12037     +34     
- Partials       2504    2511      +7
Impacted Files Coverage Δ Complexity Δ
...ookeeper/support/AbstractZookeeperTransporter.java 74.54% <93.33%> (+7.04%) 0 <0> (ø) ⬇️
...rg/apache/dubbo/remoting/utils/PayloadDropper.java 46.15% <0%> (-23.08%) 0% <0%> (ø)
.../apache/dubbo/rpc/protocol/AsyncToSyncInvoker.java 70.83% <0%> (-8.34%) 0% <0%> (ø)
...e/dubbo/remoting/transport/netty/NettyChannel.java 52.27% <0%> (-7.96%) 19% <0%> (-2%)
...dubbo/remoting/exchange/support/DefaultFuture.java 65.45% <0%> (-7.28%) 0% <0%> (ø)
...he/dubbo/common/threadpool/ThreadlessExecutor.java 55.55% <0%> (-5.56%) 0% <0%> (ø)
...ng/transport/dispatcher/WrappedChannelHandler.java 47.82% <0%> (-4.35%) 0% <0%> (ø)
...pache/dubbo/remoting/transport/AbstractServer.java 53.75% <0%> (-3.75%) 0% <0%> (ø)
...he/dubbo/remoting/transport/netty/NettyServer.java 70.17% <0%> (-3.51%) 8% <0%> (-1%)
...g/apache/dubbo/rpc/protocol/rest/RestProtocol.java 68.21% <0%> (-3.11%) 0% <0%> (ø)
... and 11 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 a9746a0...dcade6b. Read the comment docs.

@chickenlj chickenlj added this to the 2.7.6 milestone Dec 30, 2019
@chickenlj chickenlj mentioned this pull request Feb 7, 2020
@chickenlj
Copy link
Copy Markdown
Contributor

LGTM.

@chickenlj chickenlj requested a review from cvictory February 7, 2020 09:37
@chickenlj chickenlj merged commit 882a8c4 into apache:master Feb 7, 2020
@htynkn htynkn deleted the bugfix/handle-zk-by-full-path branch February 8, 2020 02:17
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.

当配置中心和注册中心在一个zk集群上,zk为未正常初始化问题

4 participants