This is an automated email from the ASF dual-hosted git repository. fangyc pushed a change to branch refact-seri in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from 2d44241 fix: testDubboProtocol_Export exporterMap after 'Unexport' url key add 2b19ca5 a quick prototype for bitmap router chain add 87a52c3 make condition router no-poolable and introduce consumer url in RegistryDirectory add ef95dd9 refactor the code style add 83ff9e7 honor HealthCheckRouter's enabled flag add 367c42b use mutex to copy invokers add a84e17b Merge branch 'develop' into bitmap-router add ef1ddcf set invokers for router chain in static directory to pass unit test add fedaae5 fix unit test add 48d713a correct go fmt add 0121001 use mutex for invokers set and get add 8458c88 use defer to unlock add e46939b code polish for else branch add 9c12919 make sure lock for invokers correctly add 37ebc63 code polish for else branch add b88d28f make router.AddrPool with initial size add 7425cd7 correct unlock add 21e572c rename ch to notify add 0da3151 make map with init size add fc8d7b0 use NewTicker instead of builtin to avoid of GC pressure. add 70bd933 avoid reflection api add 7f47894 fix typo in comment add 2756d13 upgrade arch png add e3dd46f Merge pull request #714 from Isaac-Zhang/develop add 3cf7f6b Merge pull request #7 from apache/1.4 add a1fbb39 1、update nacos sdk version 2、fix some nacos config bug add bc184e6 update uuid to v1.2.0 add 4de80e5 fix review comments add 77e0765 fix review comments add 428fe1a Merge pull request #548 from lzp0412/1.4 add 2917fd1 Merge pull request #16 from apache/1.4 add 6808199 deregistry url when destroy add 340efda fix not invoke nacos destroy when graceful shutdown add 1e7e05a add term signal add b8893fc fix review comment add a04db94 Merge pull request #668 from lzp0412/1.4 add 227441c update apollo client add d452e5c fix review comment add 8dbe485 fix review comment add 491edb6 fix review comment add 0686ca9 Merge pull request #670 from zouyx/hotfix/fix1.4 add 8e85afd optimized code add 13369bf use adapter model to modify restServer add 9a9b3a7 remove adapter add bcb0100 optimize header transmit in RestClient and RestServer add f2949db add some comments add 79bd56c modify some comments and when parsing parameters occurred error, return error immediately add 6540c89 modify comments add 4736cdc remove new function add f580ed0 modify some comments add d469144 modify some comments and modify some logger's message add ca2538a optimized code add a7174c3 let go_restful_server support same url and different methodType add ea86567 format code add 9652ae6 update getty pkg add bc5ad76 update hessian2 pkg add d7014ee update getty pkg add 350185e fix travis add 9aa2bc8 fix review comment add 5faedba fix review comment add e80c2e4 Merge pull request #709 from zouyx/updatePkg add 69e384e Merge branch '1.4' into feature/merge1.4 add a007d32 merge 1.4 add 5a135e6 Merge pull request #716 from zouyx/feature/merge1.4 add 5e35cd6 Update: dubbogo/getty -> apache/dubbo-getty add 31194a8 Correct words and Format codes add 04e0b4e Correct words and Format codes add c56ceb0 Format codes add ecdf8cc add nolint add aaa8be3 Merge pull request #704 from Howie66/master add 101e696 fix comment error add 12b6d6a Fix: comment error add 7c752e8 Fix: format error add d4336cc Fix: format test/integrate/dubbo/go-server/server.go add e361067 foramt go.mod add f9fdbeb Merge branch 'develop', and reimplement dynamic tag rule add 8c4d42e group var add f606124 use len(tag) > 0 add 0cb2789 switch to use sync.Mutex instead of atomic.Value. add 066629b new impl for address cache lifecycle add fd183d8 switch back to atomic value, I believe this is the best solution come up so far add c167842 avoid of copying and comparing invokers as much as possible add ace8f6b use defer for wg.Done() add b04224b Fix: fix tag router rule copy add 8a7a104 Merge pull request #720 from watermelo/Fix/tagRouterCopy add 43a3059 asynchronous subscribe nacos service info add e21a257 Merge pull request #721 from lzp0412/develop add e4ba8db register service instance after provider config load add b3ab323 modify name add 52e8a9e add register service instance unit test add e654674 register service instance after provider config load add dc075da modify name add f0809f6 add register service instance unit test add 066162b Merge branch 'service-register' of https://github.com/Patrick0308/dubbo-go into service-register add ce5751b when don't has metadataService ignore this error add de36a0d format code add c50da85 modify msg add 5c3f71d add comment add 7442ec3 fix imports add 9e1b4d1 fix imports add d58e4fa modify comment add 6657d27 Merge pull request #694 from Patrick0308/service-register add 1166752 forbid excuting twice add 6ccbc6c Merge pull request #719 from cvictory/log_opt add 1e0bf87 Merge commit '6ccbc6cc' into develop add 6835365 fix subscribe url wrong add b7ae2ce revert commit "fix subscribe url wrong" add bb39786 fix subscribe url wrong add 0b81ef4 Merge pull request #724 from Patrick0308/1.5.1 add aa796a8 forbid excuting twice add 3c30353 Merge branch '1.5.1' into develop add 3ed9f66 modify changes.md add 457dc32 Merge pull request #725 from zouyx/addChange add 7d1f424 Change file name to the same as interface name add 489e795 Merge pull request #726 from zouyx/addChange add 2928502 Update README.md add d0bfafb Merge branch '1.5' into develop add 62a7e88 Merge branch 'develop' into bitmap-router add e6205de Merge pull request #708 from beiwei30/bitmap-router add d542f62 Add: import code rule add 6dc2295 fix getProviderConfig in initHystrixConfigProvider add a0053d4 remove outdated comments add a111829 add detailed comment add 8b6e61e Merge branch 'develop' of https://github.com/apache/dubbo-go into fix/hystrix add d862270 Merge pull request #731 from YGrylls/fix/hystrix add d2bdc6f Mrg:merge develop No new revisions were added by this update. Summary of changes: CHANGE.md | 28 ++ README.md | 2 + cluster/directory/static_directory.go | 8 +- cluster/router/{chan.go => chain.go} | 9 +- cluster/router/chain/chain.go | 210 +++++++++++-- cluster/router/chain/chain_test.go | 13 +- cluster/router/chain/invoker_cache.go | 80 +++++ cluster/router/condition/factory_test.go | 107 +++---- cluster/router/condition/listenable_router.go | 14 +- cluster/router/condition/router.go | 31 +- cluster/router/healthcheck/health_check_route.go | 48 ++- .../router/healthcheck/health_check_route_test.go | 48 +-- cluster/router/router.go | 47 ++- cluster/router/tag/file.go | 9 +- cluster/router/tag/router_rule.go | 18 +- cluster/router/tag/tag_router.go | 328 +++++++++++++-------- cluster/router/tag/tag_router_test.go | 121 ++++---- .../router/utils/bitmap_util.go | 40 +-- common/extension/metadata_service.go | 7 +- common/logger/logger.go | 6 +- common/url.go | 28 ++ config/config_loader.go | 95 ++++++ config/config_loader_test.go | 276 ++++++++++++++++- config/consumer_config.go | 9 +- config/reference_config_test.go | 29 ++ config/service_config_test.go | 34 ++- config/ssl_config.go | 2 +- config_center/apollo/impl.go | 36 +-- config_center/apollo/impl_test.go | 25 +- config_center/apollo/listener.go | 38 ++- config_center/nacos/client.go | 5 +- config_center/nacos/facade.go | 2 +- config_center/nacos/listener.go | 1 + contributing.md | 25 +- doc/pic/arch/dubbo-go-arch.png | Bin 131372 -> 190013 bytes doc/pic/arch/dubbo-go-ext.png | Bin 76469 -> 194550 bytes filter/filter_impl/hystrix_filter.go | 56 +++- go.mod | 12 +- go.sum | 109 ++++++- registry/directory/directory.go | 38 ++- registry/etcdv3/listener_test.go | 2 +- registry/kubernetes/registry.go | 2 +- registry/nacos/listener.go | 7 +- registry/protocol/protocol.go | 17 +- .../router/chan.go => registry/registry_factory.go | 11 +- .../service_discovery_holder.go | 17 +- .../servicediscovery/service_discovery_registry.go | 45 +-- remoting/etcdv3/facade.go | 2 +- remoting/exchange.go | 2 +- remoting/getty/config.go | 13 +- remoting/getty/getty_client.go | 4 +- remoting/getty/getty_server.go | 2 +- remoting/getty/listener.go | 2 +- remoting/getty/pool.go | 2 +- remoting/getty/readwriter.go | 2 +- remoting/zookeeper/facade.go | 2 +- remoting/zookeeper/listener.go | 2 +- 57 files changed, 1610 insertions(+), 518 deletions(-) copy cluster/router/{chan.go => chain.go} (81%) create mode 100644 cluster/router/chain/invoker_cache.go copy common/extension/metrics_test.go => cluster/router/utils/bitmap_util.go (59%) rename cluster/router/chan.go => registry/registry_factory.go (86%) copy cluster/directory.go => registry/service_discovery_holder.go (76%)