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 7965e9e Merge pull request #724 from zyearn/fix_missing_array new 2dc9cba health_check_using_rpc: add single server new 084c1e7 health_check_using_rpc: health check after revive & add UT new 8b2edf4 health_check_using_rpc: refine comment new e38afc8 health_check_using_rpc: add doc new a236b5d health_check_using_rpc: refine doc and comment new a2cc202 health_check_using_rpc: fix UT new 69477c3 health_check_using_rpc: fix docs new 44c9698 health_check_using_rpc: change the position of Channel::Init new cfbe1e5 health_check_using_rpc: hc in the original task again if failed new 387d034 health_check_using_rpc: use HealthCheckChannel instead of Channel to hc new 400d8c6 health_check_using_rpc: remove unnecessary friend class new d5bc479 health_check_using_rpc: make hc rpc async new 75a80db health_check_using_rpc: misc change & update docs new c407640 health_check_using_rpc: refine docs new 267c625 health_check_using_rpc: fix UT after rebase master new 95b8f54 health_check_using_rpc: remove unnecessary local vars new 77566c8 health_check_using_rpc: fix leak & change the time of setting _health_check_using_rpc new 9d5b136 health_check_using_rpc: refine code new 3ab2b2d health_check_using_rpc: change _health_checking_using_rpc to _app_level_health_checking & use Address in OnHealthCheckRPCDone new ddcb074 health_check_using_rpc: use _ninflight_app_level_health_check to solve race new 4acdf92 health_check_using_rpc: replace app_level_health_check with app_health_check new cc3de34 health_check_using_rpc: add necessary logs new 74951b9 health_check_using_rpc: 1.revise docs 2.combine IsLogOff and IsAppHealthCheck into IsAvailable new 8a00083 health_check_using_rpc: fix UT new 7e23ff0 health_check_using_rpc: remove IsAvailable check in dynpart_load_balancer new 733548d health_check_using_rpc: refine logs new d10699f health_check_using_rpc: refine docs new 3068ccb health_check_using_rpc: make hc interval exactly -health_check_interval new f0ba175 health_check_using_rpc: replace bthread_usleep to reduce inflight bthread new 03cc7f8 health_check_using_rpc: put health check related code into separate file new 5a28210 health_check_using_rpc: refine desc new 6cb0191 health_check_using_rpc: wrap HealthCheckTask new 413db42 health_check_using_rpc: wrap to StartHealthCheckWithDelayMS new 938f2e8 health_check_using_rpc: refine code new adec01c health_check_using_rpc: change async Appcheck to sync new e455431 health_check_using_rpc: refine comments new 26c9f94 health_check_using_rpc: remove unnecessary space new 5ce7363 health_check_using_rpc: refine interface name new 1ebba7f Merge pull request #694 from zyearn/health_check_by_rpc_call The 1612 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: .gitignore | 1 + docs/cn/client.md | 2 +- src/brpc/channel.cpp | 2 +- src/brpc/controller.cpp | 2 +- src/brpc/controller.h | 5 + src/brpc/details/controller_private_accessor.h | 5 + src/brpc/details/health_check.cpp | 237 +++++++++++++++++++++ src/brpc/{global.h => details/health_check.h} | 19 +- .../policy/consistent_hashing_load_balancer.cpp | 2 +- src/brpc/policy/locality_aware_load_balancer.cpp | 2 +- src/brpc/policy/randomized_load_balancer.cpp | 2 +- src/brpc/policy/round_robin_load_balancer.cpp | 2 +- .../policy/weighted_round_robin_load_balancer.cpp | 2 +- src/brpc/selective_channel.cpp | 2 +- src/brpc/socket.cpp | 145 +++---------- src/brpc/socket.h | 37 +++- src/brpc/socket_inl.h | 5 +- test/CMakeLists.txt | 3 +- test/brpc_http_rpc_protocol_unittest.cpp | 10 +- test/brpc_load_balancer_unittest.cpp | 83 +++++++- test/brpc_socket_unittest.cpp | 93 ++++++++ test/health_check.proto | 11 + 22 files changed, 523 insertions(+), 149 deletions(-) create mode 100644 src/brpc/details/health_check.cpp copy src/brpc/{global.h => details/health_check.h} (63%) create mode 100644 test/health_check.proto --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org