This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git.
from d0bfafb Merge branch '1.5' into develop
new 2b19ca5 a quick prototype for bitmap router chain
new 87a52c3 make condition router no-poolable and introduce consumer url
in RegistryDirectory
new ef95dd9 refactor the code style
new 83ff9e7 honor HealthCheckRouter's enabled flag
new 367c42b use mutex to copy invokers
new a84e17b Merge branch 'develop' into bitmap-router
new ef1ddcf set invokers for router chain in static directory to pass
unit test
new fedaae5 fix unit test
new 48d713a correct go fmt
new 0121001 use mutex for invokers set and get
new 8458c88 use defer to unlock
new e46939b code polish for else branch
new 9c12919 make sure lock for invokers correctly
new 37ebc63 code polish for else branch
new b88d28f make router.AddrPool with initial size
new 7425cd7 correct unlock
new 21e572c rename ch to notify
new 0da3151 make map with init size
new fc8d7b0 use NewTicker instead of builtin to avoid of GC pressure.
new 70bd933 avoid reflection api
new 7f47894 fix typo in comment
new f9fdbeb Merge branch 'develop', and reimplement dynamic tag rule
new 8c4d42e group var
new f606124 use len(tag) > 0
new 0cb2789 switch to use sync.Mutex instead of atomic.Value.
new 066629b new impl for address cache lifecycle
new fd183d8 switch back to atomic value, I believe this is the best
solution come up so far
new c167842 avoid of copying and comparing invokers as much as possible
new ace8f6b use defer for wg.Done()
new 62a7e88 Merge branch 'develop' into bitmap-router
new e6205de Merge pull request #708 from beiwei30/bitmap-router
The 2781 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
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/tag_router.go | 325 +++++++++++++--------
cluster/router/tag/tag_router_test.go | 121 ++++----
.../router/utils/bitmap_util.go | 40 +--
common/url.go | 28 ++
go.mod | 2 +
go.sum | 16 +
registry/directory/directory.go | 38 ++-
19 files changed, 872 insertions(+), 322 deletions(-)
rename 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%)