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

optimize: optimize zk registry lookup performance #3795

Merged

Conversation

iqinning
Copy link
Contributor

@iqinning iqinning commented Jun 1, 2021

Ⅰ. Describe what this PR did

optimize: optimize zk registry lookup performance

see detail #3498

Ⅱ. Does this pull request fix one issue?

fixes #3498

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@funky-eyes
Copy link
Contributor

登记一下pr和作者信息到changes文件夹中2个的1.5.0.md中

@iqinning iqinning force-pushed the optimize-zk-registry-performance branch from 40868fe to 170c450 Compare June 2, 2021 06:46
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2021

Codecov Report

Merging #3795 (40868fe) into develop (107e0bf) will increase coverage by 0.00%.
The diff coverage is 40.00%.

❗ Current head 40868fe differs from pull request most recent head 7b20f3e. Consider uploading reports for the commit 7b20f3e to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #3795   +/-   ##
==========================================
  Coverage      40.84%   40.84%           
- Complexity      2955     2956    +1     
==========================================
  Files            662      662           
  Lines          22308    22312    +4     
  Branches        2777     2777           
==========================================
+ Hits            9111     9114    +3     
  Misses         12349    12349           
- Partials         848      849    +1     
Impacted Files Coverage Δ
...very/registry/zk/ZookeeperRegisterServiceImpl.java 60.90% <40.00%> (+0.43%) ⬆️

@iqinning iqinning force-pushed the optimize-zk-registry-performance branch from 170c450 to 2318c8c Compare June 2, 2021 07:11
@iqinning iqinning requested a review from funky-eyes June 2, 2021 07:20
@iqinning iqinning force-pushed the optimize-zk-registry-performance branch from 2318c8c to c4fb4d1 Compare June 2, 2021 07:23
@iqinning iqinning requested a review from funky-eyes June 2, 2021 09:10
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@wangliang181230 wangliang181230 left a comment

Choose a reason for hiding this comment

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

LGTM

@wangliang181230 wangliang181230 merged commit 0672229 into apache:develop Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZK 注册中心在lookup 服务地址时每次都会检查zk节点是否存在
4 participants