Commit Graph

5396 Commits

Author SHA1 Message Date
PJ Fanning f6a5a57a4b
upgrade zookeeper due to security issue (#9797) 2022-03-17 10:10:10 +08:00
PJ Fanning 3c332c5391
upgrade logger jars due to security concerns (#9796) 2022-03-17 10:08:40 +08:00
Albumen Kevin d41a0448c7
Fix integration test cache (#9795) 2022-03-16 18:49:46 +08:00
ken.lj dedf2812cd
followup of #9358 (#9794) 2022-03-16 17:00:30 +08:00
Wang Chengming 104ad1c552
fix #9341, ignore OverlappingFileLockException (#9358) 2022-03-16 16:49:57 +08:00
ken.lj 12b12ef093
Fix 3.0 followup 9784 (#9793) 2022-03-16 15:38:08 +08:00
ken.lj ae3a025021
fix weight cannot work properly on multi-registry scenario (#9786)
fixes #9546
2022-03-16 14:58:10 +08:00
dragon-zhang 51361dd278
support MemoryLimitedLinkedBlockingQueue (#9789) 2022-03-16 14:56:41 +08:00
Albumen Kevin ec6b53f07b
[3.0] Fix Zone Aware Filter not work (#9680) 2022-03-15 17:32:38 +08:00
ken.lj c3dd89b8bf
Fix 3.0 registry as metadata (#9784) 2022-03-15 16:04:35 +08:00
Albumen Kevin d48a0a7336
[3.0] Fix api for AbstractCompiler (#9783)
Fix #9771
2022-03-15 16:01:16 +08:00
ken.lj 37a27d4dfd
fix #9752, ignore internal application model (#9778) 2022-03-15 15:59:07 +08:00
tanoak 3d6c6daef8
fix bigDecimal scientific notation (#9692)
fix #9562
2022-03-15 15:03:56 +08:00
gitchenjh 0d453ad146
[3.0]Fix native-image plugin not compatible with Windows OS (#9756) 2022-03-15 14:47:01 +08:00
灼华 bd5c620946
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
2022-03-15 14:24:25 +08:00
ken.lj a5f0d9a632
fix 9735, concurrent modification of stated urls (#9777) 2022-03-15 12:08:23 +08:00
ken.lj 6069fde474
fix shutdown process, destroy registry and protocol server first before destroying other resources (#9747) 2022-03-15 12:07:46 +08:00
灼华 cf1fa64302
Fix the logic of ZookeeperDynamicConfiguration#doRemoveListener method (#9746) 2022-03-15 12:06:27 +08:00
levis9527 bc546c84f3
some comments(#9741) 2022-03-15 12:04:00 +08:00
zcbbpo 71d821d2a3
Fix LS telnet command, check registry type before class casting (#9780) 2022-03-15 11:54:56 +08:00
GuoHao 4f4854948e
[3.0 - Triple] Add protobuf version check (#9770)
* Add protobuf version check

* Degrade version

* Fix format
2022-03-15 10:03:05 +08:00
Albumen Kevin ae34adb932
[3.0] Fix isConsumerSide not work in sub invoke (#9740)
Fix #9666
2022-03-14 18:38:52 +08:00
GuoHao fe3dfec71b
Degrade protobuf-java version to 3.11.0 (#9773) 2022-03-14 16:48:20 +08:00
GuoHao 9446643d01
Init builders before test (#9774) 2022-03-14 14:56:30 +08:00
ken.lj e9175a6c74
add more configuration items for control of remote metadata registration. (#9767) 2022-03-11 15:11:10 +08:00
ken.lj 8872817b67
optimization of metadata fetching process (#9754) 2022-03-10 17:10:25 +08:00
ken.lj 970964a012
Fix curator5 compatibility (#9749)
fixes #9738
2022-03-10 17:07:48 +08:00
ken.lj 58f25ebdc2
fix, use server attachment (#9744) 2022-03-07 16:06:52 +08:00
ken.lj 8f11fc9633
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>
2022-03-07 15:28:38 +08:00
灼华 b7b4993635
Add test case for RouterChain (#9732)
* Add test case for RouterChain#route method

* Add test case for RouterChain
2022-03-07 10:42:47 +08:00
ken.lj 0dba4f92f1
Update README.md 2022-03-04 23:37:22 +08:00
Albumen Kevin 1a52091aa2
[3.0] Remove attribute pass when Injvm invoke (#9734) 2022-03-03 17:35:10 +08:00
earthchen 8f9d0eebd7
[3.0-compiler] proto3 support optional (#9688)
* proto3 support optional

* fix grpc compiler error

* update grpc version

* Compatible with grpc
2022-03-02 15:42:50 +08:00
GuoHao 1add77ed6e
[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>
2022-03-01 12:33:26 +08:00
ken.lj 71c7e245c3 Merge remote-tracking branch 'origin/3.0' into 3.0 2022-03-01 10:37:46 +08:00
ken.lj 8686d8d54a prepare for the next release 3.0.7-SNAPSHOT 2022-03-01 10:35:43 +08:00
ken.lj e4c036d287
ignore raw content in MetadataInfo (#9726) 2022-02-28 15:11:26 +08:00
ken.lj 5c9287f92a
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 eed418a96d.
2022-02-28 12:11:52 +08:00
灼华 08dea8118b
Fix the problem that NPE may appear in ReferenceBeanSupport#convertToString method (#9693) 2022-02-25 16:53:35 +08:00
灼华 eed418a96d
Fixe the issue that the default protocol configured by the consumer does not take effect in the application-level mode (#9683) 2022-02-25 16:51:50 +08:00
灼华 5d044c7530
Fix the issue that providerUrl could not be registered in the application-level registry when simplified is set to true (#9671) 2022-02-25 16:47:27 +08:00
Kvicii 5216214a07
merge redundant if branches (#9657) 2022-02-25 16:47:08 +08:00
Albumen Kevin c44200b3e0
[3.0] InternalThreadLocal extend ThreadLocal for compatible (#9710) 2022-02-23 11:25:45 +08:00
ken.lj f2ccdd322f
fix, check before remove on embedded rpc call (#9704) 2022-02-23 10:06:17 +08:00
ken.lj 7a5d04a169
[3.0] Fix concurrency issues of service discovery (#9684) 2022-02-23 10:05:51 +08:00
earthchen cace611778
[3.0] Remove ThreadlessExecutor internal thread pool (#9705)
* avoid callbackExecutor is null

* Remove ThreadlessExecutor internal thread pool

* Simplified judgment

* public --> private

* fix style
2022-02-21 20:14:12 +08:00
Albumen Kevin 82c1b030fa
[3.0] Add max entry limit for Profiler (#9703) 2022-02-21 13:23:27 +08:00
huazhongming b1e3b18e69
Print real interface name (#9631)
* print real interface name

* change to  parseBoolean
2022-02-18 17:00:11 +08:00
GuoHao b48de77215
Do not deserialize if data is null (#9699) 2022-02-18 16:57:06 +08:00
Albumen Kevin 80599857a8
[3.0] Add Included package filter in ExtensionLoader (#9697)
* [3.0] Add Included package filter in ExtensionLoader

* rename

* rename
2022-02-18 10:56:01 +08:00