chickenlj [Thu, 21 Apr 2022 07:56:17 +0000 (15:56 +0800)]
fix
Oliver [Tue, 12 Apr 2022 03:52:01 +0000 (11:52 +0800)]
Optimize deleting file (#9907)
* Optimize deleting file
* Add to print lockFile name
ken.lj [Fri, 8 Apr 2022 07:13:02 +0000 (15:13 +0800)]
[3.0] Service discovery model enhancement for supporting of dns registry (#9904)
ken.lj [Fri, 8 Apr 2022 04:16:40 +0000 (12:16 +0800)]
[3.0] Set to not register metadata service to registry. (#9902)
fixes #9895.
Gong Dewei [Thu, 7 Apr 2022 05:48:33 +0000 (13:48 +0800)]
[3.x] add detail log for generic and interface type conflicts (#9856)
* add detail log for generic and interface type conflicts
* fix generic interfaceClass
Chromico Rek [Wed, 6 Apr 2022 08:55:22 +0000 (12:55 +0400)]
Bump spring to 5.2.20 (#9876)
GuoHao [Wed, 6 Apr 2022 05:38:43 +0000 (13:38 +0800)]
Fix warn in compiler (#9897)
* Remove static from interface
saleson [Wed, 6 Apr 2022 02:59:18 +0000 (10:59 +0800)]
fix #9877 (#9890)
GuoHao [Sat, 2 Apr 2022 19:17:12 +0000 (03:17 +0800)]
Enable mvn cache (#9889)
GuoHao [Sat, 2 Apr 2022 13:19:52 +0000 (21:19 +0800)]
Fix tls not work when use pu handler (#9882)
ken.lj [Fri, 1 Apr 2022 12:11:21 +0000 (20:11 +0800)]
Merge 3.0.7-release and prepare for the next release (#9874)
GuoHao [Thu, 31 Mar 2022 14:05:40 +0000 (22:05 +0800)]
Add remote address log (#9872)
huazhongming [Thu, 31 Mar 2022 11:34:36 +0000 (19:34 +0800)]
Fix triple protocol async call (#9870)
* fix triple protocol async call
* Fix format
Co-authored-by: guohao <guohaoice@gmail.com>
GuoHao [Thu, 31 Mar 2022 09:32:42 +0000 (17:32 +0800)]
[3.0 Triple] Fix no error signal when channel closed (#9858)
* Fix no error signal when channel closed
* Some reactor
* Fix ut
* Do not send reset when received client rst
* Add more comments
* Do not ignore frame to avoid race condition
* Try fix ut
* Skip assert for debug
* Add service
* Remove context before use
* Fix comment
GuoHao [Thu, 31 Mar 2022 08:59:15 +0000 (16:59 +0800)]
[3.0] Do not release ByteBuf manually in port unification handler (#9869)
* Do not release manually
Albumen Kevin [Thu, 31 Mar 2022 01:49:13 +0000 (09:49 +0800)]
[3.0] Optimize Converter to cache (#9861)
* [3.0] Optimized Converter to cache
* add asf header
* fix compile
Wang Chengming [Wed, 30 Mar 2022 03:51:19 +0000 (11:51 +0800)]
Remove hard-coded param type check in MapTypeBuilder (#9849)
fix #9847
GuoHao [Tue, 29 Mar 2022 09:08:17 +0000 (17:08 +0800)]
Add log when protocol unrecognize or error (#9854)
earthchen [Tue, 29 Mar 2022 07:35:25 +0000 (15:35 +0800)]
remove pb utils from compiler (#9853)
GuoHao [Tue, 29 Mar 2022 06:54:12 +0000 (14:54 +0800)]
[3.0] Fix shutdown hang when use port unification handler (#9852)
* Fix shutdown hang when use port unification handler
* Fix ut
* Fix sync
GuoHao [Tue, 29 Mar 2022 05:59:18 +0000 (13:59 +0800)]
Fix npe in zone aware invoker (#9851)
灼华 [Mon, 28 Mar 2022 09:31:12 +0000 (17:31 +0800)]
Fix the problem that the consumer stub event does not trigger (#9723)
related #9825.
earthchen [Mon, 28 Mar 2022 06:50:45 +0000 (14:50 +0800)]
[3.0-compiler] fix compiler on dubbo3 with `java_multiple_files=false` (#9846)
* fix `java_multiple_files=false` on dubbo 3 compiler
* change version
灼华 [Mon, 28 Mar 2022 03:46:27 +0000 (11:46 +0800)]
Code optimization and fix typo (#9840)
* Code Adjust
* Fix typo
* FIX UT
* FIX UT
* Adjust the order of the two if judgments
Oliver [Mon, 28 Mar 2022 02:08:27 +0000 (10:08 +0800)]
optimize unit test (#9844)
* optimize unit test
* fix test case
Wang Chengming [Sun, 27 Mar 2022 04:43:35 +0000 (12:43 +0800)]
fix #9832 (#9839)
Co-authored-by: 呈铭 <beck.wcm@antgroup.com>
GuoHao [Sun, 27 Mar 2022 02:50:01 +0000 (10:50 +0800)]
[3.0 Triple] Support native stub generator (#9822)
Support native stub generator
ken.lj [Fri, 25 Mar 2022 03:00:20 +0000 (11:00 +0800)]
Fix 9806, check metadata protocol (#9820)
Wang Chengming [Fri, 25 Mar 2022 02:00:48 +0000 (10:00 +0800)]
optimize some code of SslConfig (#9837)
Co-authored-by: 呈铭 <beck.wcm@antgroup.com>
Wang Chengming [Thu, 24 Mar 2022 06:46:31 +0000 (14:46 +0800)]
optimize some code of URLItemCache (#9835)
Co-authored-by: 呈铭 <beck.wcm@antgroup.com>
DaneBrown [Wed, 23 Mar 2022 15:24:59 +0000 (23:24 +0800)]
Optimize code for base practice for 3.x (#9830)
* Optimize code for base practice
* Optimize code for base practice
* Optimize code for base practice
* add blank between param and value
ken.lj [Wed, 23 Mar 2022 04:56:51 +0000 (12:56 +0800)]
[3.0] Nacos, add switch and disable consumer side registration by default (#9827)
ken.lj [Wed, 23 Mar 2022 02:44:09 +0000 (10:44 +0800)]
[3.0] Directory log optimization (#9821)
ken.lj [Wed, 23 Mar 2022 02:41:46 +0000 (10:41 +0800)]
[3.0] mapping report log optimization. (#9828)
fixes #9742
ken.lj [Tue, 22 Mar 2022 03:22:36 +0000 (11:22 +0800)]
[3.0] Should not read group and version from default consumer url if it's empty in provider url. (#9818)
fixes #9557
PJ Fanning [Mon, 21 Mar 2022 03:27:24 +0000 (04:27 +0100)]
update spring and hibernate (#9802)
* update spring and hibernate
* use hibernate-validator 5.4.3
* Update pom.xml
* Update pom.xml
* Revert "Update pom.xml"
This reverts commit
82ec93276a91563a77b8d2e78d72781ed049c3c9.
Wang Chengming [Mon, 21 Mar 2022 03:25:38 +0000 (11:25 +0800)]
fix mistake code (#9817)
Co-authored-by: 呈铭 <beck.wcm@antgroup.com>
PJ Fanning [Mon, 21 Mar 2022 03:24:30 +0000 (04:24 +0100)]
update resteasy version due to cve (#9811)
PJ Fanning [Mon, 21 Mar 2022 03:22:19 +0000 (04:22 +0100)]
[issue-9812] upgrade libthrift due to security issue (#9813)
Albumen Kevin [Sun, 20 Mar 2022 07:11:35 +0000 (15:11 +0800)]
[3.0] reuse some executor services in framework level (#9809)
* [3.0] reuse some executor services in framework level
* fix ut
* add application name to thread name
* fix ut
* fix ut
Albumen Kevin [Sat, 19 Mar 2022 08:14:49 +0000 (16:14 +0800)]
[3.0] Fix concurrent modification in Invocation attribute (#9805)
* [3.0] Fix concurrent modification in Invocation attribute
* convert to Collections.synchronizedMap(new HashMap<>())
王贺涛 [Thu, 17 Mar 2022 06:49:40 +0000 (14:49 +0800)]
cluserter merger refine (#9451)
Poison [Thu, 17 Mar 2022 06:22:23 +0000 (14:22 +0800)]
No longer catch the argument decode exception in the inner decode method, to avoid the parameter being null when the decode fails, and a NullPointerException will be thrown when the parameter is used by the actual provider, causing the consumer to fail to obtain the original decode exception. (#9490)
fixes #9489
PJ Fanning [Thu, 17 Mar 2022 02:10:10 +0000 (03:10 +0100)]
upgrade zookeeper due to security issue (#9797)
PJ Fanning [Thu, 17 Mar 2022 02:08:40 +0000 (03:08 +0100)]
upgrade logger jars due to security concerns (#9796)
Albumen Kevin [Wed, 16 Mar 2022 10:49:46 +0000 (18:49 +0800)]
Fix integration test cache (#9795)
ken.lj [Wed, 16 Mar 2022 09:00:30 +0000 (17:00 +0800)]
followup of #9358 (#9794)
Wang Chengming [Wed, 16 Mar 2022 08:49:57 +0000 (16:49 +0800)]
fix #9341, ignore OverlappingFileLockException (#9358)
ken.lj [Wed, 16 Mar 2022 07:38:08 +0000 (15:38 +0800)]
Fix 3.0 followup 9784 (#9793)
ken.lj [Wed, 16 Mar 2022 06:58:10 +0000 (14:58 +0800)]
fix weight cannot work properly on multi-registry scenario (#9786)
fixes #9546
dragon-zhang [Wed, 16 Mar 2022 06:56:41 +0000 (14:56 +0800)]
support MemoryLimitedLinkedBlockingQueue (#9789)
Albumen Kevin [Tue, 15 Mar 2022 09:32:38 +0000 (17:32 +0800)]
[3.0] Fix Zone Aware Filter not work (#9680)
ken.lj [Tue, 15 Mar 2022 08:04:35 +0000 (16:04 +0800)]
Fix 3.0 registry as metadata (#9784)
Albumen Kevin [Tue, 15 Mar 2022 08:01:16 +0000 (16:01 +0800)]
[3.0] Fix api for AbstractCompiler (#9783)
Fix #9771
ken.lj [Tue, 15 Mar 2022 07:59:07 +0000 (15:59 +0800)]
fix #9752, ignore internal application model (#9778)
tanoak [Tue, 15 Mar 2022 07:03:56 +0000 (15:03 +0800)]
fix bigDecimal scientific notation (#9692)
fix #9562
gitchenjh [Tue, 15 Mar 2022 06:47:01 +0000 (01:47 -0500)]
[3.0]Fix native-image plugin not compatible with Windows OS (#9756)
灼华 [Tue, 15 Mar 2022 06:24:25 +0000 (14:24 +0800)]
Optimize the logic of writing memory container(properties) to files i… (#9695)
* Optimize the logic of writing memory container(properties) to files in AbstractRegistry and AbstractMetadataReport
* FIX UT
ken.lj [Tue, 15 Mar 2022 04:08:23 +0000 (12:08 +0800)]
fix 9735, concurrent modification of stated urls (#9777)
ken.lj [Tue, 15 Mar 2022 04:07:46 +0000 (12:07 +0800)]
fix shutdown process, destroy registry and protocol server first before destroying other resources (#9747)
灼华 [Tue, 15 Mar 2022 04:06:27 +0000 (12:06 +0800)]
Fix the logic of ZookeeperDynamicConfiguration#doRemoveListener method (#9746)
levis9527 [Tue, 15 Mar 2022 04:04:00 +0000 (12:04 +0800)]
some comments(#9741)
zcbbpo [Tue, 15 Mar 2022 03:54:56 +0000 (11:54 +0800)]
Fix LS telnet command, check registry type before class casting (#9780)
GuoHao [Tue, 15 Mar 2022 02:03:05 +0000 (10:03 +0800)]
[3.0 - Triple] Add protobuf version check (#9770)
* Add protobuf version check
* Degrade version
* Fix format
Albumen Kevin [Mon, 14 Mar 2022 10:38:52 +0000 (18:38 +0800)]
[3.0] Fix isConsumerSide not work in sub invoke (#9740)
Fix #9666
GuoHao [Mon, 14 Mar 2022 08:48:20 +0000 (16:48 +0800)]
Degrade protobuf-java version to 3.11.0 (#9773)
GuoHao [Mon, 14 Mar 2022 06:56:30 +0000 (14:56 +0800)]
Init builders before test (#9774)
ken.lj [Fri, 11 Mar 2022 07:11:10 +0000 (15:11 +0800)]
add more configuration items for control of remote metadata registration. (#9767)
ken.lj [Thu, 10 Mar 2022 09:10:25 +0000 (17:10 +0800)]
optimization of metadata fetching process (#9754)
ken.lj [Thu, 10 Mar 2022 09:07:48 +0000 (17:07 +0800)]
Fix curator5 compatibility (#9749)
fixes #9738
ken.lj [Mon, 7 Mar 2022 08:06:52 +0000 (16:06 +0800)]
fix, use server attachment (#9744)
ken.lj [Mon, 7 Mar 2022 07:28:38 +0000 (15:28 +0800)]
Merge 3.0.6-release branch and prepare for next release (#9743)
* modify CHANGES.md
* bump version 3.0.6
* netty4_extend (#9725)
* netty4_extend
* fix compile error
Co-authored-by: Owen.Cai <89424516@qq.com>
灼华 [Mon, 7 Mar 2022 02:42:47 +0000 (10:42 +0800)]
Add test case for RouterChain (#9732)
* Add test case for RouterChain#route method
* Add test case for RouterChain
ken.lj [Fri, 4 Mar 2022 15:37:22 +0000 (23:37 +0800)]
Update README.md
Albumen Kevin [Thu, 3 Mar 2022 09:35:10 +0000 (17:35 +0800)]
[3.0] Remove attribute pass when Injvm invoke (#9734)
earthchen [Wed, 2 Mar 2022 07:42:50 +0000 (15:42 +0800)]
[3.0-compiler] proto3 support optional (#9688)
* proto3 support optional
* fix grpc compiler error
* update grpc version
* Compatible with grpc
GuoHao [Tue, 1 Mar 2022 04:33:26 +0000 (12:33 +0800)]
[3.0-Triple] A reactor for better abstraction and futher stub api (#9708)
* Init
* update'
* Update
* add depressor
* Update
* Update
* Roughly finished server stream
* Move some comment
* Minor clean
* Store serialize type in request
* Try abstract unray/stream
* Fix compile
* Adapt protocol
* Fix add timeout listener NPE
* Fix setIfNull NPE
* Init client executor before invoke
* Flush when send init header
* Fix path
* Fix data frame not end
* Fix class cast err
* Fix no grpc-message returned in trailers
* Fix no delivery
* Fix write idx
* Fix decode
* Fix code is not 0
* Try seperate stream and unary method descriptor
* Add call
* Update call observer
* Adapt client stream and client call
* Fix compile
* Fix compile
* Fix dupliate reuqests
* Remove unused code
* Fix compile
* Fix large header
* Fix error exception
* Fix stream
* Remove generic unpack from call
* Abstract call to reduce code in tri invoker for stub usage
* Set callback executor
* Clean unused method
* Adapt server call
* Remove set decompressor method
* Pass unary client
* Fix npe at server side when unary call
* Pass unary server
* Move client call static methods to standalone file
* Fix biz error did not send EOS
* Fix duplicate send message methods in server call
* Do not send message when status is ok
* Support requestN()
* Close listener in delivery process
* Try set listener before data
* Fix multiple decdoe
* some code refactoring
* Release accumulate after close decoder
* Extract inner lambda
* Abstract managed stream observer
* Support cancel
* Basicly add cancel
* Support bi-cancel
* some code refactoring
* Add client cancel
* Support cancel server stream
* wrapper client SerializingExecutor
* Fix large size header
* Add client decompressor
* Support server set compression
* fix multi thread decoder
* Ignore version 1.0.0
* Extract single kv method
* Add state check in stream observer
* Fix cancel server stream
* Default flush write queue
* Simplify ssl judge
* fix defaultFuture error
* Simplify defaultFuture2
* fix license
* fix style
* fix style
* Generate throwable in client executor
* Close h2 channel when client timeout
* refactor grpc-status-detail handler
* Minor code clean up
* Rename grpc status to rpc status
* Abstract request meta to reduce arguments passing
* Abstract call stream methods
* Fix status with description
* Minor fix
* Try 1.0.0 version by default
* Format code
* Rebase 3.0
* backpress
* refactor run on eventLoop
* Enhance error handle
* Remove tranport state
* Add doc
* refactor thread
* Add client stream simple ut
* fix thread
* Fix status from trailers
* Update UT
* Use transport listener instead of stream
* Move netty operations to transport package
* fix style
* Fix some ut
* Fix ut format
* Ignore protocol test
* Add client stream ut
* Fix wrapper it
* Seperate wrap response from observer
* Some operations are removed from the thread
* Import timeout key
* Use millis to judge timeout
* Fix protocol error
* fix style
* fix style
* Add error log
* delete defaultSerialization
* override TripleInvoker getCallbackExecutor
* Add decoder test
* Format test
* Add Client response ut
* fix tri callbackExecutor
* Remove unused test
* Remove lookup executor in TripleInvoker
* Format
* Fix executor
* Fix UT
* Fix return type in server call
* ClientCall remove url param
Co-authored-by: earthchen <earthchen1996@gmail.com>
ken.lj [Tue, 1 Mar 2022 02:37:46 +0000 (10:37 +0800)]
Merge remote-tracking branch 'origin/3.0' into 3.0
ken.lj [Tue, 1 Mar 2022 02:35:43 +0000 (10:35 +0800)]
prepare for the next release 3.0.7-SNAPSHOT
ken.lj [Mon, 28 Feb 2022 07:11:26 +0000 (15:11 +0800)]
ignore raw content in MetadataInfo (#9726)
ken.lj [Mon, 28 Feb 2022 04:11:52 +0000 (12:11 +0800)]
Revert "Fixe the issue that the default protocol configured by the consumer does not take effect in the application-level mode (#9683)" (#9727)
This reverts commit
eed418a96d2b822e793ae428684f9f0a3d069e45.
灼华 [Fri, 25 Feb 2022 08:53:35 +0000 (16:53 +0800)]
Fix the problem that NPE may appear in ReferenceBeanSupport#convertToString method (#9693)
灼华 [Fri, 25 Feb 2022 08:51:50 +0000 (16:51 +0800)]
Fixe the issue that the default protocol configured by the consumer does not take effect in the application-level mode (#9683)
灼华 [Fri, 25 Feb 2022 08:47:27 +0000 (16:47 +0800)]
Fix the issue that providerUrl could not be registered in the application-level registry when simplified is set to true (#9671)
Kvicii [Fri, 25 Feb 2022 08:47:08 +0000 (16:47 +0800)]
merge redundant if branches (#9657)
Albumen Kevin [Wed, 23 Feb 2022 03:25:45 +0000 (11:25 +0800)]
[3.0] InternalThreadLocal extend ThreadLocal for compatible (#9710)
ken.lj [Wed, 23 Feb 2022 02:06:17 +0000 (10:06 +0800)]
fix, check before remove on embedded rpc call (#9704)
ken.lj [Wed, 23 Feb 2022 02:05:51 +0000 (10:05 +0800)]
[3.0] Fix concurrency issues of service discovery (#9684)
earthchen [Mon, 21 Feb 2022 12:14:12 +0000 (20:14 +0800)]
[3.0] Remove ThreadlessExecutor internal thread pool (#9705)
* avoid callbackExecutor is null
* Remove ThreadlessExecutor internal thread pool
* Simplified judgment
* public --> private
* fix style
Albumen Kevin [Mon, 21 Feb 2022 05:23:27 +0000 (13:23 +0800)]
[3.0] Add max entry limit for Profiler (#9703)
huazhongming [Fri, 18 Feb 2022 09:00:11 +0000 (17:00 +0800)]
Print real interface name (#9631)
* print real interface name
* change to parseBoolean
GuoHao [Fri, 18 Feb 2022 08:57:06 +0000 (16:57 +0800)]
Do not deserialize if data is null (#9699)
Albumen Kevin [Fri, 18 Feb 2022 02:56:01 +0000 (10:56 +0800)]
[3.0] Add Included package filter in ExtensionLoader (#9697)
* [3.0] Add Included package filter in ExtensionLoader
* rename
* rename
GuoHao [Thu, 17 Feb 2022 08:44:01 +0000 (16:44 +0800)]
Set default timeout to 3s and read from invocation (#9696)
Albumen Kevin [Thu, 17 Feb 2022 05:48:23 +0000 (13:48 +0800)]
[3.0] Support registry delay export (#9694)
ken.lj [Wed, 16 Feb 2022 07:32:43 +0000 (15:32 +0800)]
revert invocation changes in #9659 for compatibility purpose. (#9689)
Albumen Kevin [Fri, 11 Feb 2022 06:11:37 +0000 (14:11 +0800)]
[3.0] ServiceDefinition usage refactor & distinguish serviceName and interfaceName (#9659)
Albumen Kevin [Fri, 11 Feb 2022 01:59:33 +0000 (09:59 +0800)]
[3.0] Fix Dubbo Refer failed if a generic class's dependency is incomplete (#9669)
* [3.0] Fix Dubbo Refer failed if a generic class's dependency is incomplete
* fix refer
* fix client create proxy
GuoHao [Thu, 10 Feb 2022 14:18:48 +0000 (22:18 +0800)]
Ignore version 1.0.0 (#9674)
Albumen Kevin [Tue, 8 Feb 2022 02:17:00 +0000 (10:17 +0800)]
[3.0] FileCacheStore refactor & Add FileCacheStoreFactory (#9655)