dubbo.git
12 months agoFix ut for AbstractConfigTest dubbo-2.7.12
Albumen Kevin [Tue, 8 Jun 2021 03:14:23 +0000 (11:14 +0800)] 
Fix ut for AbstractConfigTest

12 months agoMerge remote-tracking branch 'apache/master' into 2.7.12-release
Albumen Kevin [Tue, 8 Jun 2021 02:03:03 +0000 (10:03 +0800)] 
Merge remote-tracking branch 'apache/master' into 2.7.12-release

12 months agoDe-duplicate the filter returned by the getActivateExtension method (#7600)
xiaoheng1 [Tue, 8 Jun 2021 02:02:41 +0000 (10:02 +0800)] 
De-duplicate the filter returned by the getActivateExtension method (#7600)

* fix #7587 De-duplicate the filter returned by the getActivateExtension method

* add log.

* modify log.

* merge master

12 months agoprepare 2.7.12 release
Albumen Kevin [Mon, 7 Jun 2021 12:36:24 +0000 (20:36 +0800)] 
prepare 2.7.12 release

12 months agoAdd test case for ExecutorRepository (#7994)
xiaoheng1 [Mon, 7 Jun 2021 07:35:58 +0000 (15:35 +0800)] 
Add test case for ExecutorRepository (#7994)

12 months agofix: Support Lazy annotation issue#829 (#7981)
Xiong, Pin [Mon, 7 Jun 2021 07:26:35 +0000 (02:26 -0500)] 
fix: Support Lazy annotation issue#829 (#7981)

1. support Lazy Annotation for both @DubboService and @DubboReference
2. add testcase to check default-lazy-init and lazy-init in XML
3. add testcase to check Lazy annotation

12 months ago[LFUCache]Add frequency of key and delete the empty cache queue (#7967)
maizi [Mon, 7 Jun 2021 07:16:23 +0000 (15:16 +0800)] 
[LFUCache]Add frequency of key and delete the empty cache queue (#7967)

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted
3.Add a method to get frequency of the key

* 1.Change the freqTable from Array to TreeMap
2.Add a timeout field to determine if an empty queue can be deleted
3.Add a method to get frequency of the key

* remove unused imports

Co-authored-by: liwenliang <liwenliang@weidian.com>
12 months ago[ISSUE #7943]Handle illegal characters uniformly (#7970)
haoyann [Mon, 7 Jun 2021 07:05:21 +0000 (15:05 +0800)] 
[ISSUE #7943]Handle illegal characters uniformly (#7970)

* handle illegal characters uniformly

* keep `handleInnerSymbol` is private

* remove unused import

12 months agoAdd unit test for ZoneAwareClusterInterceptor (#7974)
passer [Mon, 7 Jun 2021 06:50:32 +0000 (14:50 +0800)] 
Add unit test for ZoneAwareClusterInterceptor (#7974)

12 months agoAdd unit test for ConsumerContextClusterInterceptor(#7972)
passer [Mon, 7 Jun 2021 06:49:22 +0000 (14:49 +0800)] 
Add unit test for ConsumerContextClusterInterceptor(#7972)

12 months agoupgrade nacos to 1.4.2 (#7996)
ken.lj [Mon, 7 Jun 2021 06:46:25 +0000 (14:46 +0800)] 
upgrade nacos to 1.4.2 (#7996)

12 months agoKeep the ProviderURLMergeProcessor API unchanged and change the configuration method...
huazhongming [Mon, 7 Jun 2021 06:45:17 +0000 (14:45 +0800)] 
Keep the ProviderURLMergeProcessor API unchanged and change the configuration method. (#7998)

12 months agoAdd InfraAdapterTest (#7984)
灼华 [Mon, 7 Jun 2021 06:36:21 +0000 (01:36 -0500)] 
Add InfraAdapterTest (#7984)

12 months agoadd unit test for ScheduledCompletableFuture (#7963)
灼华 [Sun, 6 Jun 2021 04:15:44 +0000 (23:15 -0500)] 
add unit test for ScheduledCompletableFuture (#7963)

13 months agoAdd generics to avoid forced conversion (#7964)
灼华 [Fri, 4 Jun 2021 08:45:14 +0000 (03:45 -0500)] 
Add generics to avoid forced conversion (#7964)

13 months agoFix license (#7977)
Albumen Kevin [Fri, 4 Jun 2021 05:45:01 +0000 (13:45 +0800)] 
Fix license (#7977)

* Fix thrift ASF license header

* add .mvn ignore

* add ASF header

* remove protobuf notice

13 months agoadd test case for DubboProtocol (#7917)
xiaoheng1 [Thu, 3 Jun 2021 10:57:01 +0000 (18:57 +0800)] 
add test case for DubboProtocol (#7917)

* fix #7916 add test case for DubboProtocol

* add log

* add log

* add log

* bugfix

13 months agoFix the bug that calling the unregisterServiceInstance method in the DubboBootstrap...
灼华 [Thu, 3 Jun 2021 09:54:02 +0000 (17:54 +0800)] 
Fix the bug that calling the unregisterServiceInstance method in the DubboBootstrap#destroy method does not work (#7965)

13 months agoAdjust constant name (#7958)
灼华 [Thu, 3 Jun 2021 09:52:40 +0000 (17:52 +0800)] 
Adjust constant name (#7958)

13 months agologs are stored using a Set replace with Queue (#7956)
passer [Thu, 3 Jun 2021 09:24:55 +0000 (17:24 +0800)] 
logs are stored using a Set replace with Queue (#7956)

13 months agoFill conditionKeys collections when necessary (#7462)
灼华 [Thu, 3 Jun 2021 09:13:41 +0000 (17:13 +0800)] 
Fill conditionKeys collections when necessary (#7462)

* fill conditionKeys collections when necessary

* Use set container to handle multiple tildeKey situations

13 months agoUse constants instead of literals (#7962)
灼华 [Thu, 3 Jun 2021 08:54:04 +0000 (16:54 +0800)] 
Use constants instead of literals (#7962)

* Use constants instead of literals

* Remove unused variables

* Remove unnecessary modifiers

* Use constants instead of literals

13 months agoConsider the status of forbidden when checking that the registry is available (#7946)
Haichao [Thu, 3 Jun 2021 08:46:55 +0000 (16:46 +0800)] 
Consider the status of forbidden when checking that the registry is available (#7946)

13 months agoDubboProtocol#INSTANCE should not be initialized in the constructor (#7951)
xiaoheng1 [Wed, 2 Jun 2021 15:21:14 +0000 (23:21 +0800)] 
DubboProtocol#INSTANCE should not be initialized in the constructor (#7951)

* fix #7949 DubboProtocol#INSTANCE should not be initialized in the constructor

* bugfix

* Add clear system environment variable logic

13 months agoReplace list with set in ExtensionLoader (#7926)
passer [Tue, 1 Jun 2021 15:00:38 +0000 (23:00 +0800)] 
Replace list with set in ExtensionLoader (#7926)

13 months agoAdd unit test for PublishMetadata, Version command (#7906)
灼华 [Tue, 1 Jun 2021 14:54:46 +0000 (22:54 +0800)] 
Add unit test for PublishMetadata, Version command (#7906)

* Add unit test for Ready,PublishMetadata,Version command

* Add clear mechanism in unit test

* Fix unit test

* Fix unit test

* Fix unit test

* Fix unit test npe

* Fix unit test

* Fix unit test

* Debug ut

* Fix ut

* Debug ut

* Debug ut

* Debug ut

* Debug ut

* Debug ut

* Revert

* Debug ut

* Debug ut

* Remove ReadyTest

13 months agoFix DubboProtocol is not directly used externally (#7924)
xiaoheng1 [Tue, 1 Jun 2021 14:53:29 +0000 (22:53 +0800)] 
Fix DubboProtocol is not directly used externally (#7924)

* fix #7923 Fix DubboProtocol is not directly used externally

* add cleanup when destroy

* bugfix

* add invoker.destroy

13 months agoCache the parsed result of the HelpCommand and HelpTelnetHandler (#7919)
灼华 [Tue, 1 Jun 2021 14:51:49 +0000 (22:51 +0800)] 
Cache the parsed result of the HelpCommand and HelpTelnetHandler (#7919)

* Cache the parsed result of the HelpCommand and HelpTelnetHandler

* Modify the map type to WeakHashMap

13 months agoadd override annotation (#7940)
xiaoheng1 [Tue, 1 Jun 2021 06:27:00 +0000 (14:27 +0800)] 
add override annotation (#7940)

13 months agoConfigCenterConfig add constructor with address param as RegistryConfig,MetadataRepor...
赵延 [Mon, 31 May 2021 12:40:05 +0000 (20:40 +0800)] 
ConfigCenterConfig add constructor with address param as RegistryConfig,MetadataReportConfig. (#7468)

13 months agofix multiple registry onEvent not triggered. (#7440)
诣极 yì jí [Mon, 31 May 2021 12:33:18 +0000 (20:33 +0800)] 
fix multiple registry onEvent not triggered. (#7440)

13 months agoApplication-granular service registration and discovery are compatible with api calli...
xiaoheng1 [Mon, 31 May 2021 12:09:32 +0000 (20:09 +0800)] 
Application-granular service registration and discovery are compatible with api calling methods (#7369)

* solve #7364 Application-granular service registration and discovery are compatible with api calling methods

* add override annotation

* Add non-empty check

13 months agothe forbidden change to false must depend on invokerUrls isNotEmpty. (#7270)
赵延 [Mon, 31 May 2021 12:05:40 +0000 (20:05 +0800)] 
the forbidden change to false must depend on invokerUrls isNotEmpty. (#7270)

13 months agoDisable ZkDynamicConfigTest (#7930)
Albumen Kevin [Mon, 31 May 2021 04:06:01 +0000 (12:06 +0800)] 
Disable ZkDynamicConfigTest (#7930)

13 months agossl support ciphers&protocols (#7740)
Owen.Cai [Mon, 31 May 2021 02:42:51 +0000 (10:42 +0800)] 
ssl support ciphers&protocols (#7740)

* ssl support ciphers&protocals

* fix spell bug

* spell error

* add test

* fix import *

* add ASF license

* delete no need

13 months agoAdd test cases for dubbo-registry-zookeeper (#7921) (#7922)
passer [Mon, 31 May 2021 02:22:43 +0000 (10:22 +0800)] 
Add test cases for dubbo-registry-zookeeper (#7921) (#7922)

13 months agoExtract common logic for HttpProcessHandler to optimize it (#7918)
灼华 [Mon, 31 May 2021 02:21:53 +0000 (10:21 +0800)] 
Extract common logic for HttpProcessHandler to optimize it (#7918)

13 months agoFix dubbo-bom (#7915)
passer [Mon, 31 May 2021 02:18:51 +0000 (10:18 +0800)] 
Fix dubbo-bom (#7915)

13 months agoAdd test case for ServerStatusChecker (#7889)
xiaoheng1 [Mon, 31 May 2021 02:17:24 +0000 (10:17 +0800)] 
Add test case for ServerStatusChecker (#7889)

* fix #7888 add test case for ServerStatusChecker

* use available port

* modify getAvailablePort

* fix testGetAvailablePort test case.

* modify min_port=1

* make getAvailablePort Sync

* use random port as init value

* bugfix

* Use bitset to optimize code

* remote unused import

* remove unused import

* bugfix

* bugfix

* add log

* bugfix

* bugfix

13 months agoLimit the maximum number of lines for the clear command (#7911)
灼华 [Mon, 31 May 2021 02:16:03 +0000 (10:16 +0800)] 
Limit the maximum number of lines for the clear command (#7911)

13 months agoOptimize qos server to be compatible with linux epoll (#7910)
灼华 [Mon, 31 May 2021 02:15:23 +0000 (10:15 +0800)] 
Optimize qos server to be compatible with linux epoll (#7910)

13 months agoimprove the code that RegistryDirectory.java#destroyUnusedInvokers an… (#7902)
zhox [Mon, 31 May 2021 02:12:35 +0000 (10:12 +0800)] 
improve the code that RegistryDirectory.java#destroyUnusedInvokers an… (#7902)

* improve the code that RegistryDirectory.java#destroyUnusedInvokers and RegistryDirectory.java#toMergeInvokerList

* 1 fix with RegistryDirectory.java: remove unused imports

Co-authored-by: zhongxiong.zeng <zhongxiong.zeng@za.group>
13 months agoFix some bugs in publishMetadata command (#7903)
灼华 [Mon, 31 May 2021 02:06:30 +0000 (10:06 +0800)] 
Fix some bugs in publishMetadata command (#7903)

* Fix the bug that publishMetadata cmd does not work

* Adjust the delay schedule and time unit

1.Delay scheduling should be used instead of scheduled scheduling
2.The delay unit should be seconds, not milliseconds

13 months agoFix the problem that it does not work when using telnet for online/offline (#7901)
灼华 [Mon, 31 May 2021 02:04:34 +0000 (10:04 +0800)] 
Fix the problem that it does not work when using telnet for online/offline (#7901)

* Fix the problem that it does not work when using telnet for online/offline

* Add some examples to readyCommand

* Fix unit test

13 months agoOpt ThreadNameTest check (#7905)
Albumen Kevin [Sat, 29 May 2021 09:20:26 +0000 (17:20 +0800)] 
Opt ThreadNameTest check (#7905)

13 months agoAdd unit test for SslConfig (#7881)
Ziyun Yang [Fri, 28 May 2021 10:08:35 +0000 (03:08 -0700)] 
Add unit test for SslConfig (#7881)

13 months agoAdd unit test for ThreadPoolStatusChecker (#7899)
灼华 [Fri, 28 May 2021 09:48:27 +0000 (17:48 +0800)] 
Add unit test for ThreadPoolStatusChecker (#7899)

13 months agoAdd dubbo-configcenter-apollo RemoveListener test (#7893)
Luo Luo [Fri, 28 May 2021 09:44:54 +0000 (02:44 -0700)] 
Add dubbo-configcenter-apollo RemoveListener test (#7893)

13 months agoOptimize the registryAsConfigCenter/MetadataCenter method to return directly when...
灼华 [Fri, 28 May 2021 09:29:50 +0000 (17:29 +0800)] 
Optimize the registryAsConfigCenter/MetadataCenter method to return directly when the id exists in configManger (#7887)

* Optimize the registryAsConfigCenter method to return directly when the id exists in configManger

* Optimize the registryAsMetadataCenter method to return directly when the id exists in configManger

13 months agoFix the calculation error of TimeoutCountDown#elapsedMillis method (#7880)
灼华 [Fri, 28 May 2021 09:19:06 +0000 (17:19 +0800)] 
Fix the calculation error of TimeoutCountDown#elapsedMillis method (#7880)

13 months agoReuse the existing method of generating ServiceKey (#7875)
灼华 [Fri, 28 May 2021 09:13:17 +0000 (17:13 +0800)] 
Reuse the existing method of generating ServiceKey (#7875)

13 months agoimprove the code that DubboProtocol.java#getClients (#7885)
zhox [Fri, 28 May 2021 06:10:11 +0000 (14:10 +0800)] 
improve the code that DubboProtocol.java#getClients (#7885)

* improve the code that DubboProtocol.java#getClients

* improve the code that DubboProtocol.java#getClients

Co-authored-by: zhongxiong.zeng <zhongxiong.zeng@za.group>
13 months agomodules‘ dependency fix & optimize (#7894)
张远征hd [Fri, 28 May 2021 02:17:26 +0000 (10:17 +0800)] 
modules‘ dependency fix & optimize (#7894)

* 补充dubbo-all和dubbo-bom模块中pom文件中丢失的module配置

补充dubbo-all和dubbo-bom模块中pom文件中丢失的module配置

* fix some pom errors

* fix some pom errors

* dependency optimize

Co-authored-by: Longfei Xia <736551961@qq.com>
13 months agoAdd unit test for TraceFilter (#7877)
passer [Fri, 28 May 2021 02:09:52 +0000 (10:09 +0800)] 
Add unit test for TraceFilter (#7877)

* Add unit test for TraceFilter (#7876)

* println actual message (#7876)

* Fix TraceFilterTest#testInvoke (#7876)

13 months agoFix the problem that the info method is called at the debug log level (#7871)
灼华 [Fri, 28 May 2021 02:05:50 +0000 (10:05 +0800)] 
Fix the problem that the info method is called at the debug log level (#7871)

13 months agoRemove the forced conversion in the ServiceInstanceMetadataCustomizer#customize metho...
灼华 [Fri, 28 May 2021 01:46:18 +0000 (09:46 +0800)] 
Remove the forced conversion in the ServiceInstanceMetadataCustomizer#customize method (#7870)

13 months agoadd test case for InvokerListener (#7874)
xiaoheng1 [Fri, 28 May 2021 01:45:24 +0000 (09:45 +0800)] 
add test case for InvokerListener (#7874)

13 months agoRemove repetitive and unnecessary judgment (#7869)
灼华 [Fri, 28 May 2021 01:44:47 +0000 (09:44 +0800)] 
Remove repetitive and unnecessary judgment (#7869)

* Remove unnecessary judgments

* Remove unnecessary judgments

* Fix code style

13 months agoOptimize ZookeeperDynamicConfiguration#doClose (#7862) (#7863)
passer [Fri, 28 May 2021 01:37:38 +0000 (09:37 +0800)] 
Optimize ZookeeperDynamicConfiguration#doClose (#7862) (#7863)

* Optimize ZookeeperDynamicConfiguration#doClose (#7862)

* optimize (#7862)

13 months agoSupport url merge processor extension (#7860)
huazhongming [Fri, 28 May 2021 01:33:53 +0000 (09:33 +0800)] 
Support url merge processor extension (#7860)

* support url merge processor extension

* fix ut

13 months agoReorder the modifiers to comply with the Java Language Specification. (#7858)
komorebi [Fri, 28 May 2021 01:31:23 +0000 (20:31 -0500)] 
Reorder the modifiers to comply with the Java Language Specification. (#7858)

13 months agoignore non-dubbo nacos services (#7602)
huazhongming [Fri, 28 May 2021 01:20:15 +0000 (09:20 +0800)] 
ignore non-dubbo nacos services (#7602)

* ignore non-dubbo nacos services

* add ut

13 months agoOptimize ConfigValidationUtils, extract constants (#7835)
xiaoheng1 [Fri, 28 May 2021 01:18:30 +0000 (09:18 +0800)] 
Optimize ConfigValidationUtils, extract constants (#7835)

13 months agofeat: Support ignored Network Interfaces #2796 (#7884)
Xiong, Pin [Thu, 27 May 2021 08:24:47 +0000 (16:24 +0800)] 
feat: Support ignored Network Interfaces #2796 (#7884)

13 months agoadd unit test for TraceTelnetHandler (#7843) (#7861)
passer [Thu, 27 May 2021 03:14:14 +0000 (11:14 +0800)] 
add unit test for TraceTelnetHandler (#7843) (#7861)

13 months agoimprove monitor creating, handle errors (#7867)
Gong Dewei [Wed, 26 May 2021 15:36:43 +0000 (23:36 +0800)] 
improve monitor creating, handle errors (#7867)

13 months agoRemove useless code in InjvmProtocolTest (#7855)
xiaoheng1 [Tue, 25 May 2021 12:40:16 +0000 (20:40 +0800)] 
Remove useless code in InjvmProtocolTest (#7855)

13 months agoAdd unit test for CountTelnetHandler (#7846)
passer [Tue, 25 May 2021 12:37:17 +0000 (20:37 +0800)] 
Add unit test for CountTelnetHandler (#7846)

* Add unit test for CountTelnetHandler (#7842)

* Optimize CountTelnetHandlerTest (#7842)

13 months agoImprove UT cases (#7856)
Albumen Kevin [Tue, 25 May 2021 02:13:22 +0000 (10:13 +0800)] 
Improve UT cases (#7856)

* Opt ConsulRegistryTest Retry

* Change zk remove listener check key

13 months agoSupport timeout intercept on provider side (#7851)
张志勇 [Mon, 24 May 2021 15:15:24 +0000 (23:15 +0800)] 
Support timeout intercept on provider side (#7851)

13 months agoRemove unused variables (#7844)
灼华 [Mon, 24 May 2021 14:35:46 +0000 (22:35 +0800)] 
Remove unused variables (#7844)

13 months agoUpdate Pull Request Template (#7828)
Albumen Kevin [Mon, 24 May 2021 02:28:45 +0000 (10:28 +0800)] 
Update Pull Request Template (#7828)

13 months agoOptimize the logic of obtaining the mock parameter value of the corresponding method...
灼华 [Sun, 23 May 2021 13:18:18 +0000 (21:18 +0800)] 
Optimize the logic of obtaining the mock parameter value of the corresponding method in the MockInvoker#invoke method (#7840)

13 months agoFix RpcUtilsTest Compilation Failure (#7832)
Albumen Kevin [Sun, 23 May 2021 08:47:29 +0000 (16:47 +0800)] 
Fix RpcUtilsTest Compilation Failure (#7832)

* Fix RpcUtilsTest Compilation Failure

* Fix Random port in WebserviceProtocolTest

* Fix retry in ut

13 months agoFix configuring priority judgment, with isAsync and isOneway (#3855)
Roy [Sun, 23 May 2021 06:56:03 +0000 (14:56 +0800)] 
Fix configuring priority judgment, with isAsync and isOneway (#3855)

* Fix configuring priority judgment, with isAsync, isOneway (#3848)

* Fix configuring priority judgment, with isAsync, isOneway (#3848)
bugfix, add UT

* Fix configuring priority judgment, with isAsync, isOneway (#3848)
add UT

* Fix configuring priority judgment, with isAsync, isOneway (#3848)
merge master

Co-authored-by: jiangqian <qian.jiang@dingxiang-inc.com>
Co-authored-by: jiangqian <royjiangqian@didiglobal.com>
13 months agoAdd tests for ZookeeperDynamicConfiguration (#7825)
passer [Sun, 23 May 2021 06:39:27 +0000 (14:39 +0800)] 
Add tests for ZookeeperDynamicConfiguration (#7825)

* Add tests for ZookeeperDynamicConfiguration (#7823)

* Optimize ZookeeperDynamicConfigurationTest (#7823)

13 months agoAdd tag variables to avoid repeated calls to ExporterChangeableWrapper#unexport metho...
灼华 [Sun, 23 May 2021 06:37:45 +0000 (14:37 +0800)] 
Add tag variables to avoid repeated calls to ExporterChangeableWrapper#unexport method (#7819)

* Add tag variables to avoid repeated calls to ExporterChangeableWrapper#unexport method

* Use AtomicBoolean type instead of volatile boolean type to avoid concurrent problem

13 months agoAdd retry for MetricsFilterTest (#7829)
Albumen Kevin [Sat, 22 May 2021 10:46:55 +0000 (18:46 +0800)] 
Add retry for MetricsFilterTest (#7829)

13 months agoFix sync report registry url miss key (#7827)
Albumen Kevin [Sat, 22 May 2021 08:47:32 +0000 (16:47 +0800)] 
Fix sync report registry url miss key (#7827)

13 months agoImprove test cases about redis (#7826)
Albumen Kevin [Sat, 22 May 2021 08:06:14 +0000 (16:06 +0800)] 
Improve test cases about redis (#7826)

* Make Redis Startup port changing

* Add exception check

13 months ago[Dubbo-6837] fix dubbo @Service annotation bug (#6838)
leayer [Sat, 22 May 2021 08:04:17 +0000 (16:04 +0800)] 
[Dubbo-6837] fix dubbo @Service annotation bug (#6838)

Co-authored-by: zhangduanzhangduan <zhangduanzhangduan@didichuxing.com>
13 months agoenhance LRUCache (#7461)
gcx [Sat, 22 May 2021 07:55:58 +0000 (15:55 +0800)] 
enhance LRUCache (#7461)

* enhance LRUCache

* enhance LRUCache

13 months agoRemove repeat operations in ConsumerContextClusterInterceptor (#7821)
灼华 [Sat, 22 May 2021 07:29:31 +0000 (15:29 +0800)] 
Remove repeat operations in ConsumerContextClusterInterceptor (#7821)

* Remove the repeated operations in ConsumerContextClusterInterceptor and ConsumerContextFilter

* Fix code style

13 months agoClear the container at the end of the DefaultExecutorRepository#destroyAll method...
灼华 [Sat, 22 May 2021 07:28:42 +0000 (15:28 +0800)] 
Clear the container at the end of the DefaultExecutorRepository#destroyAll method (#7820)

* Clear the container at the end of the DefaultExecutorRepository#destroyAll method

* Reuse destroyRegistered variable

13 months agoMultiMessageHandler should increase exception handling to prevent data loss (#7816)
xiaoheng1 [Sat, 22 May 2021 07:24:17 +0000 (15:24 +0800)] 
MultiMessageHandler should increase exception handling to prevent data loss (#7816)

13 months agoReplace the toString() method with a public parameter (#7812)
Jone One [Sat, 22 May 2021 07:04:05 +0000 (15:04 +0800)] 
Replace the toString() method with a public parameter (#7812)

Co-authored-by: zhongya.yan <zhongya.yan@ly.com>
13 months agoOptimize InvokeTelnetHandler code format (#7814)
passer [Sat, 22 May 2021 07:01:15 +0000 (15:01 +0800)] 
Optimize InvokeTelnetHandler code format (#7814)

13 months agoFix the bug that the doRemoveListener method does not remove the listener correctly...
灼华 [Sat, 22 May 2021 06:43:05 +0000 (14:43 +0800)] 
Fix the bug that the doRemoveListener method does not remove the listener correctly (#7806)

13 months agosupport set retry count through RpcContext, cover the settings of default invoke...
shanwb [Sat, 22 May 2021 06:18:47 +0000 (14:18 +0800)] 
support set retry count through RpcContext, cover the settings of default invoke times (#7777)

Co-authored-by: 单文榜 <shanwenbang@shanwenbangdeMacBook-Pro.local>
13 months agoOptimize the doUnsubscribe method to remove elements from related containers (#7804)
灼华 [Sat, 22 May 2021 06:16:42 +0000 (14:16 +0800)] 
Optimize the doUnsubscribe method to remove elements from related containers (#7804)

13 months agoFix the problem that occurs when using kryo to deserialize Attachments (#7801)
shanwb [Sat, 22 May 2021 06:14:42 +0000 (14:14 +0800)] 
Fix the problem that occurs when using kryo to deserialize Attachments (#7801)

Co-authored-by: 单文榜 <shanwenbang@shanwenbangdeMacBook-Pro.local>
13 months agofix: ExtensionLoader only collect exceptions but do not throws when loadResource...
Xiong, Pin [Sat, 22 May 2021 06:12:49 +0000 (14:12 +0800)] 
fix: ExtensionLoader only collect exceptions but do not throws when loadResource (#7787)

1. fix the bug on duplicated implementation by using SPI
2. add testcases

13 months ago[Dubbo-6034] Fix the RegistyUrl mismatching to ZoneAwareClusterInvoker.PREFER_REGISTR...
plusmancn [Sat, 22 May 2021 06:10:40 +0000 (14:10 +0800)] 
[Dubbo-6034] Fix the RegistyUrl mismatching to ZoneAwareClusterInvoker.PREFER_REGISTRY_KEY (#7788)

* fix: mismatch to ZoneAwareClusterInvoker.PREFER_REGISTRY_KEY

* fix: code style rule '.*' form

* feat: add unit test for PREFER_REGISTRY_KEY

Co-authored-by: plusman <liujianan@souche.com>
13 months agoOptimize the code in some places (#7799)
灼华 [Sat, 22 May 2021 06:09:10 +0000 (14:09 +0800)] 
Optimize the code in some places (#7799)

* Optimize the code in some places for HeaderExchangeServer and NettyServer

* Remove unnecessary forced transfers
* Remove unnecessary package prefixes

* Remove unnecessary package prefixes

* Remove unnecessary package prefixes

13 months agomake sure change local serviceInstance after remote operation. (#7798)
赵延 [Thu, 20 May 2021 15:29:22 +0000 (23:29 +0800)] 
make sure change local serviceInstance after remote operation. (#7798)

13 months agoUpgrade to Jedis 3.6.0 (#7791)
Guy Korland [Wed, 19 May 2021 14:32:12 +0000 (17:32 +0300)] 
Upgrade to Jedis 3.6.0 (#7791)

13 months agoFix ReferenceCountManagedChannel#incrementAndGetCount return type (#7794) (#7795)
passer [Wed, 19 May 2021 14:19:09 +0000 (22:19 +0800)] 
Fix ReferenceCountManagedChannel#incrementAndGetCount return type (#7794) (#7795)

13 months agoOptimize ServiceConfig code and extract constants (#7793)
xiaoheng1 [Wed, 19 May 2021 14:13:41 +0000 (22:13 +0800)] 
Optimize ServiceConfig code and extract constants (#7793)

13 months agoAdd Unit Test for AOP support(#7790)
ph3636 [Wed, 19 May 2021 14:10:01 +0000 (22:10 +0800)] 
Add Unit Test for AOP support(#7790)

Co-authored-by: ph3636 <>
13 months agoAdd a new Router class for making requests targeted at specified ip and port (#7756)
张志勇 [Wed, 19 May 2021 14:06:51 +0000 (22:06 +0800)] 
Add a new Router class for making requests targeted at specified ip and port (#7756)