This is an automated email from the ASF dual-hosted git repository.
jamesge pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git.
from 1b9e006 Merge pull request #710 from tanzhongyibidu/master
new 50eed9b lb configurable && consistency lb refactor
new cc795ae bug fix && unitest fix
new 2232e8a bugs fix
new 2dcfa32 fix typo
new b1ed71c fix typo
new be11fcd add code comments && move brpc::policy::HashFunc to hasher.cpp
new 98aeda6 pass parameters string to lb SetParamters()
new 39c4d72 little change
new 37d2a3b some enhancements
new 95d61d7 move GetReplicaPolicy out of class ReplicaPolicy
new 8368bfc fix build failure
new 8b919c4 fix for ci comments
new dcc7e00 fix for ci comments
new 3d7b547 fix for ci comments
new f97f4b8 fix lb ut
new c9a9ffa move SetParameters function to New()
new bd7e7e3 fix for ci comments
new 446c0ab fix ut failure
new f76d338 remove unnecessary member '_replica_policy'
new 8bd4051 remove KetamaHash()
new 49d5989 remove SplitLoadBalancerParameters && code style
new aca3a0e fix bugs
new 4a7c3c5 code style
new 2ef40e6 Merge pull request #592 from
cdjingit/lb_configurable_and_consistency_lb_refactor_caidaojin
The 1571 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:
src/brpc/global.cpp | 7 +-
src/brpc/load_balancer.cpp | 37 +++-
src/brpc/load_balancer.h | 7 +-
.../policy/consistent_hashing_load_balancer.cpp | 186 ++++++++++++++++-----
src/brpc/policy/consistent_hashing_load_balancer.h | 41 +++--
src/brpc/policy/dynpart_load_balancer.cpp | 2 +-
src/brpc/policy/dynpart_load_balancer.h | 2 +-
src/brpc/policy/hasher.cpp | 11 +-
src/brpc/policy/hasher.h | 3 +
src/brpc/policy/locality_aware_load_balancer.cpp | 3 +-
src/brpc/policy/locality_aware_load_balancer.h | 2 +-
src/brpc/policy/randomized_load_balancer.cpp | 3 +-
src/brpc/policy/randomized_load_balancer.h | 2 +-
src/brpc/policy/round_robin_load_balancer.cpp | 3 +-
src/brpc/policy/round_robin_load_balancer.h | 2 +-
.../policy/weighted_round_robin_load_balancer.cpp | 3 +-
.../policy/weighted_round_robin_load_balancer.h | 2 +-
src/brpc/socket.h | 6 +-
test/brpc_load_balancer_unittest.cpp | 19 ++-
19 files changed, 256 insertions(+), 85 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]