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

Reduce memory allocation in ServiceDiscovery #9328

Merged
merged 1 commit into from
Nov 28, 2021

Conversation

AlbumenJ
Copy link
Member

What is the purpose of the change

Brief changelog

Verifying this change

Checklist

  • 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.
  • 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.
  • Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
  • 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.
  • Add some description to dubbo-website project if you are requesting to add a feature.
  • GitHub Actions works fine on your own branch.
  • If this contribution is large, please follow the Software Donation Guide.

@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2021

Codecov Report

Merging #9328 (5421be8) into 3.0 (ef4cb63) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##                3.0    #9328   +/-   ##
=========================================
  Coverage     65.34%   65.34%           
- Complexity      341      343    +2     
=========================================
  Files          1201     1201           
  Lines         51837    51844    +7     
  Branches       7722     7723    +1     
=========================================
+ Hits          33874    33879    +5     
- Misses        14348    14353    +5     
+ Partials       3615     3612    -3     
Impacted Files Coverage Δ
...n/java/org/apache/dubbo/metadata/MetadataInfo.java 62.10% <100.00%> (+0.17%) ⬆️
.../dubbo/registry/client/DefaultServiceInstance.java 89.34% <100.00%> (+3.75%) ⬆️
...vent/listener/ServiceInstancesChangedListener.java 80.08% <100.00%> (+0.16%) ⬆️
.../remoting/api/SingleProtocolConnectionManager.java 61.53% <0.00%> (-23.08%) ⬇️
...exchange/support/header/HeaderExchangeHandler.java 66.37% <0.00%> (-1.77%) ⬇️
...adata/store/zookeeper/ZookeeperMetadataReport.java 73.41% <0.00%> (-1.27%) ⬇️
...bo/registry/support/CacheableFailbackRegistry.java 77.10% <0.00%> (-1.21%) ⬇️
...ng/zookeeper/curator5/Curator5ZookeeperClient.java 63.28% <0.00%> (-0.97%) ⬇️
...ting/zookeeper/curator/CuratorZookeeperClient.java 67.78% <0.00%> (-0.97%) ⬇️
...dubbo/remoting/exchange/support/DefaultFuture.java 88.03% <0.00%> (-0.86%) ⬇️
... and 8 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 ef4cb63...5421be8. Read the comment docs.

@AlbumenJ AlbumenJ merged commit 5349c13 into apache:3.0 Nov 28, 2021
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.

2 participants