[Dubbo-2.7.2] fix registery urls increase forever when recreate reference proxy#4109
[Dubbo-2.7.2] fix registery urls increase forever when recreate reference proxy#4109beiwei30 merged 1 commit intoapache:masterfrom vio-lin:fix-retry-refer-OOM
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4109 +/- ##
============================================
+ Coverage 62.63% 62.68% +0.04%
- Complexity 543 545 +2
============================================
Files 762 762
Lines 32752 32753 +1
Branches 5162 5162
============================================
+ Hits 20515 20530 +15
+ Misses 9876 9862 -14
Partials 2361 2361
Continue to review full report at Codecov.
|
|
this urls
I think this createProxy() is a method to get a new client. It happended when last getProxy() failed and |
fix issue #4107
What is the purpose of the change
when client retry init reference, clear registry urls to avoid OOM.
the registry url contains timestamp value, it can not change urls from list to set.
Brief changelog
do clear urls when in create remote proxy
Verifying this change
do clear urls when create remote proxy
Follow this checklist to help us incorporate your contribution quickly and easily:
[Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.mvn clean install -DskipTests=false&mvn clean test-compile failsafe:integration-testto make sure unit-test and integration-test pass.