Commit Graph

1302 Commits

Author SHA1 Message Date
Yash Tibrewal 786598a6ff Merge branch 'master' into interceptorcqavalanching 2019-01-28 11:54:39 -08:00
Jan Tattermusch baaf93b830 revert no-longer-needed hotfix from #17820 2019-01-28 09:19:28 -05:00
Bill Feng 08e06da780 explicitly lengthened timeout 2019-01-25 15:25:34 -08:00
Jan Tattermusch 9e510cc5d4 update test size to avoid RBE timeouts 2019-01-24 10:47:30 +01:00
Yash Tibrewal d347ec7ce0 Register for cq avalanching when interceptors are going to be run 2019-01-23 19:11:51 -08:00
Mark D. Roth 10fa278660
Merge pull request #17577 from markdroth/lb_trailing_metadata
Allow LB policies to intercept recv_trailing_metadata
2019-01-17 13:26:29 -08:00
Mark D. Roth e8cd36924e Add test for retry code path. 2019-01-16 10:19:14 -08:00
Juanli Shen bbe2587c39 Enable per-channel subchannel pool 2019-01-15 14:15:18 -08:00
Juanli Shen b3c0b91db1 Remove force_creation param from subchannel index 2019-01-15 10:47:35 -08:00
Mark D. Roth 08f94b1623 Clean up test. 2019-01-15 08:32:18 -08:00
Mark D. Roth d655509e3d Fix sanity and build. 2019-01-10 10:52:29 -08:00
Mark D. Roth d6e2b33670 Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
This fixes a link error when building with make.
2019-01-10 10:31:16 -08:00
Mark D. Roth 8cd7178afb Add dtors in LB policy subclasses. 2019-01-10 09:26:44 -08:00
Mark D. Roth 925323c41e Merge remote-tracking branch 'upstream/master' into lb_trailing_metadata 2019-01-08 11:15:19 -08:00
Yash Tibrewal dd067fd390 Merge branch 'master' into nocopyinterception 2019-01-07 10:09:06 -08:00
Yash Tibrewal 059459a9ee Merge branch 'master' into failhijackedrecv 2019-01-04 17:28:25 -08:00
Yash Tibrewal 8ba5922e87 Merge branch 'master' into failhijackedsend 2019-01-04 15:29:00 -08:00
Yash Tibrewal 6fc7adf277 Merge branch 'master' into bidiinterceptiontest 2019-01-04 13:54:14 -08:00
Yash Tibrewal b05ca9697b Merge branch 'master' into failhijackedrecv 2019-01-04 11:30:03 -08:00
Yash Tibrewal a5ed3d245e Avoid unsigned signed comparison issues 2019-01-04 11:17:35 -08:00
Yash Tibrewal 4224384d39 Modifying semantics for GetSendMessage and GetSerializedSendMessage.
Also adding ModifySendMessage
2019-01-03 18:01:58 -08:00
Yash Tibrewal bac79bdabe Merge branch 'master' into failhijackedsend 2019-01-03 15:51:43 -08:00
Yash Tibrewal 50c60f03ba Rename GetSendMessage to GetSerializedSendMessage and GetOriginalSendMessage to GetSendMessage 2019-01-03 12:21:19 -08:00
Yash Tibrewal c6261f4b91 Rename new SendMessage types to SendMessagePtr 2019-01-02 14:46:52 -08:00
Yash Tibrewal 4aeba42528 Provide GetOriginalSendMessage for some APIs 2018-12-28 17:27:38 -08:00
Yash Tibrewal aecc5f7285 Add client interceptor test for bidi streaming hijacking interceptor 2018-12-28 16:03:20 -08:00
Yash Tibrewal 24e37e249a Merge branch 'master' into failhijackedrecv 2018-12-26 15:10:41 -08:00
Yash Tibrewal 5a6183f1bd Merge branch 'master' into failhijackedsend 2018-12-26 13:33:06 -08:00
Mark D. Roth 40f22bfc94 move ForwardingLoadBalancingPolicy to its own library 2018-12-21 15:09:17 -08:00
Mark D. Roth c4c4b9152f WIP 2018-12-21 10:57:54 -08:00
Mark D. Roth e1b36decba Merge remote-tracking branch 'upstream/master' into lb_trailing_metadata 2018-12-21 08:42:42 -08:00
Nicolas Noble 62fd6850b0
Merge pull request #17534 from markdroth/grpclb_subchannel_fix
Fix bug incorrectly inhibiting subchannel sharing for grpclb.
2018-12-18 16:05:13 -08:00
Yang Gao 998f41a593
Merge pull request #17441 from yang-g/gpr_test_util_to_grpc_test_util
Fold gpr_test_util to grpc_test_util
2018-12-18 15:27:20 -08:00
Yash Tibrewal 3c3876a5da
Merge pull request #17544 from yashykt/factorydocs
Allow interceptor creators to return nullptr
2018-12-18 14:48:43 -08:00
Mark D. Roth 1438b17890 Fix bug that was breaking subchannel reuse in grpclb. 2018-12-18 14:14:42 -08:00
Yash Tibrewal 31a775b425 Add missing argument 2018-12-18 12:52:14 -08:00
Yash Tibrewal a20263f64d Add tests using NullInterceptorFactory 2018-12-18 12:41:49 -08:00
Yash Tibrewal bb303513dc Merge master 2018-12-18 11:40:52 -08:00
Vijay Pai c52ae0d000 Give the interceptors header files in include/grpcpp/support 2018-12-17 15:17:01 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Soheil Hassas Yeganeh 9decf48632 Move security credentials, connectors, and auth context to C++
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Noah Eisen 9e9cae7839
Merge pull request #17456 from ncteisen/socket-pagination
Channelz: Add Pagination to ServerSockets
2018-12-11 12:27:49 -08:00
ncteisen c7f7db65e0 Add test and fix bug 2018-12-11 11:28:12 -08:00
Mark D. Roth c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis."" 2018-12-11 07:48:14 -08:00
Noah Eisen 403da153c8
Merge pull request #17433 from ncteisen/socket-name
Channelz: Surface Socket Name
2018-12-09 15:17:57 -08:00
hcaseyal 27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis." 2018-12-07 16:13:37 -08:00
ncteisen 7b81ae14a7 clang tidy and clang format 2018-12-07 14:59:04 -08:00
Mark D. Roth bc91ebf74c
Merge pull request #17343 from markdroth/server_address_list
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 14:26:09 -08:00
Yang Gao b590167cf2
Merge pull request #17435 from yang-g/health_service_shutdown
Add a Shutdown call to HealthCheckServiceInterface
2018-12-07 13:15:30 -08:00
Mark D. Roth dedff37b4f Allow encoding arbitrary channel args on a per-address basis. 2018-12-07 12:41:51 -08:00
Mark D. Roth 6dc358ca34
Merge pull request #17391 from markdroth/reset_connection_backoff
Fix bug in subchannel backoff reset code.
2018-12-07 12:28:03 -08:00
Vijay Pai 83c6640e92 Allow the health checking service 2018-12-07 11:03:28 -08:00
yang-g 2246607ded Review comments 2018-12-07 08:54:47 -08:00
Mark D. Roth a6a21d1c64 more code review changes 2018-12-07 08:38:29 -08:00
yang-g 47233225ca Split out the test service to separate library so that it can be reused 2018-12-06 17:12:43 -08:00
yang-g f1f557bc43 Add a Shutdown call to HealthCheckServiceInterface 2018-12-06 16:16:58 -08:00
Vijay Pai 97de30d7b3 Allow the interceptor to know the method type 2018-12-06 15:51:31 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -08:00
Mark D. Roth 3dd24ea978 code review changes 2018-12-06 12:27:41 -08:00
Mark D. Roth e9efc6fa02
Merge pull request #17383 from markdroth/pick_first_choose_ready_subchannel_at_startup
Change pick_first to immediately select the first subchannel in READY state.
2018-12-06 11:18:53 -08:00
Mark D. Roth bb5741f9c0 Change pick_first to immediately select the first subchannel in READY state. 2018-12-06 10:18:44 -08:00
Mark D. Roth 5f806d77dc Fix bug in subchannel backoff reset code. 2018-12-06 09:21:21 -08:00
Vijay Pai 611bb6b495 Test reactor reuse 2018-12-06 09:13:52 -08:00
Hope Casey-Allen 37c18ce676 Merge branch 'callback_test_coverage_1' of github.com:hcaseyal/grpc into callback_test_coverage_1 2018-12-03 13:56:22 -08:00
Hope Casey-Allen f0cb7e6bdc Remove log lines 2018-12-03 13:55:06 -08:00
hcaseyal cf14bd13fb
Merge branch 'master' into callback_test_coverage_1 2018-12-03 10:16:35 -08:00
Hope Casey-Allen c12aabc6a7 Clang format 2018-12-03 10:14:46 -08:00
Vijay Pai 6bca0313d8
Merge pull request #17144 from vjpai/server_streaming
C++ callback API for streaming servers
2018-12-03 09:52:28 -08:00
Yang Gao 09add58eca
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
2018-11-30 16:48:18 -08:00
Vijay Pai 09ba4b4047 Test client-side callback streaming with callback server 2018-11-30 16:17:16 -08:00
Vijay Pai 2a0c0d7ad6 Streaming API for callback servers 2018-11-30 16:14:21 -08:00
Hope Casey-Allen 4a6e165328 Add service definition to sync server 2018-11-30 10:26:31 -08:00
yang-g e75fc243da change tests to use the new class instead of grpc_test_init 2018-11-30 08:57:38 -08:00
Vijay Pai 2b5d45ab38 Fix clang-tidy and golden file issues 2018-11-30 04:13:41 -08:00
Vijay Pai ea1156da3f Stop exposing streaming object class 2018-11-30 04:13:40 -08:00
Vijay Pai dac2066a1c Make StartCall() a releasing operation so that you can pile up ops 2018-11-30 04:13:40 -08:00
Vijay Pai 60949a8232 Revert an order change 2018-11-30 04:13:40 -08:00
Vijay Pai 5dcfc8be96 More review comments 2018-11-30 04:13:40 -08:00
Vijay Pai 85128c7f41 Improve test readability at suggestion of @ghemawat 2018-11-30 04:13:40 -08:00
Vijay Pai d7eb26648d Client callback streaming 2018-11-30 04:13:40 -08:00
Hope Casey-Allen 470ea17843 Debugging unimplemented error in CheckClientInitialMetadata 2018-11-29 15:57:53 -08:00
Mark D. Roth 217de89085 Don't ignore empty serverlists from the grpclb balancer. 2018-11-29 07:39:15 -08:00
Yash Tibrewal f7bb5fa9d9
Merge pull request #17232 from yashykt/cleanup1
Remove the std::unique_ptr for interceptor creators, instead use move semantics everywhere
2018-11-16 13:25:50 -08:00
Yash Tibrewal 626f1c9d53 Remove the std::unique_ptr, instead use move semantics everywhere 2018-11-15 16:49:43 -08:00
Yash Tibrewal 00c9c40004 Remove extraneous logging statements 2018-11-15 16:01:14 -08:00
Yash Tibrewal d4ebd30eb2 Add method to get status of send message op on POST_SEND_MESSAGE 2018-11-15 15:57:43 -08:00
Yash Tibrewal 0911e489e3 Add a method to check whether the message was received successfully 2018-11-15 13:55:56 -08:00
Mark D. Roth d18458720c Don't reset channel state on resolver failure when LB policy exists. 2018-11-15 09:36:49 -08:00
Yash Tibrewal ceeb28a360 s/count/count_/ 2018-11-14 18:02:54 -08:00
Yash Tibrewal 5d7d6c0fbd Add method to fail hijacked send messages 2018-11-14 17:35:26 -08:00
Vijay Pai 637e4ea9fb
Merge pull request #17197 from vjpai/ctx_clear
Properly clear metadata and other structs when reusing ServerContext in callback API
2018-11-13 13:57:33 -08:00
Vijay Pai 0e29d7b9bc Properly clear metadata and other structs when reusing ServerContext 2018-11-13 12:44:56 -08:00
Vijay Pai a192fc6880 Fix clang-tidy issues 2018-11-11 14:32:55 -08:00
Yash Tibrewal 699c10386d Add method to fail recv msg for hijacked rpcs 2018-11-09 19:43:00 -08:00
Yash Tibrewal 193b4b57ec
Merge pull request #17072 from yashykt/interceptor_cancellation
Interceptors should see a Cancellation notification
2018-11-06 14:56:24 -08:00
ncteisen 1b8bf9f190 Add blank line 2018-11-02 17:22:59 -04:00
ncteisen e7d59f718f clang format 2018-11-02 16:56:12 -04:00
ncteisen 131eedaa40 Add test 2018-11-02 16:55:06 -04:00
Yash Tibrewal 3ac7f2d24c
Merge pull request #17053 from yashykt/global_interceptor
Add global client interceptor factory
2018-11-02 08:56:16 -07:00
Yash Tibrewal b732e9c403 Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests 2018-11-01 16:14:40 -07:00
Yash Tibrewal e2361a4751 Add server interceptors in end2end_test 2018-11-01 14:06:43 -07:00
Yash Tibrewal d736b1d309 Refactor tests slightly 2018-11-01 12:30:40 -07:00
Yash Tibrewal 3ec20b75ed Add tests for global interceptor 2018-10-31 14:21:25 -07:00
Vijay Pai 47d0d5bf1f Merge branch 'master' into server_callback 2018-10-30 12:29:35 -07:00
Mark D. Roth 36ac496c35
Merge pull request #17046 from markdroth/health_check_client_fix
Fix handling of call context in health check call batch payload.
2018-10-30 07:03:28 -07:00
Mark D. Roth 3465dd0cbf
Merge pull request #17010 from grpc/revert-16996-revert-16912-fail_rpcs_on_transient_failure
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.""
2018-10-30 06:38:15 -07:00
Mark D. Roth 8352f9d274 Fix handling of call context in health check call batch payload. 2018-10-29 14:11:08 -07:00
Vijay Pai 84e763f10a Experimental C++ server callback unary API 2018-10-29 13:41:25 -07:00
Yash Tibrewal 85ddf5c713 Get ClientContext included with ChannelInterface, and slight more cleanup 2018-10-29 00:14:05 -07:00
Yash Tibrewal 01313976e1
Merge pull request #16842 from yashykt/interceptors
Experimental API for Client and Server Interception
2018-10-28 23:36:59 -07:00
Yash Tibrewal d21a175b28 Revert "Add dummy interceptors to end2end_test and async_end2end_test"
This reverts commit d075719477.
2018-10-27 19:36:49 -07:00
Yash Tibrewal d075719477 Add dummy interceptors to end2end_test and async_end2end_test 2018-10-27 00:22:22 -07:00
Yash Tibrewal a55d60056b Fix build 2018-10-26 17:16:17 -07:00
Yash Tibrewal 1ea195b6f3 Reviewer comments except for void * fixed 2018-10-26 16:11:48 -07:00
ncteisen bc44c5e353 Add GetServer to channelz cpp 2018-10-26 12:58:04 -07:00
Yash Tibrewal cc21d32c77 Some cleanup 2018-10-26 00:13:55 -07:00
Yash Tibrewal 560963bd8b Add sync unknown method test 2018-10-25 22:25:49 -07:00
Yash Tibrewal 312feb4202 Adding generic rpc and unimplemented rpc test for server interceptors 2018-10-25 21:43:49 -07:00
Yash Tibrewal 3896dabb85 Merge branch 'master' into interceptors 2018-10-25 19:50:10 -07:00
Yash Tibrewal a094b7b312 Added server async tests 2018-10-25 19:24:30 -07:00
Spencer Fang 2808bd0ba0 Use forwarding LB test policy. Fix trailer interception code. 2018-10-25 15:47:13 -07:00
Mark D. Roth 2cff9ca408
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE."" 2018-10-25 12:24:42 -07:00
hcaseyal c4e2c46be1
Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE." 2018-10-24 17:20:05 -07:00
Mark D. Roth f85fd026e3 Client-side health checking support. 2018-10-24 12:29:04 -07:00
Mark D. Roth b6059e2e86 Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE. 2018-10-24 07:13:58 -07:00
Yash Tibrewal 62280b42c7 Add client streaming, server streaming and bidi streaming tests 2018-10-23 21:08:39 -07:00
Spencer Fang c62c3b920c Add fake lb policy for test. Tweak existing interception code. 2018-10-23 16:50:31 -07:00
Yash Tibrewal 66cc56bb03 Another server side test 2018-10-23 15:33:08 -07:00
Yash Tibrewal 4da91c1156 First test for server interception 2018-10-23 13:56:36 -07:00
Yash Tibrewal 0c7250c7b4 Adding streaming test for client interceptors 2018-10-23 12:15:21 -07:00
Yash Tibrewal 6e00b3bb88 Use InProc Channel for callback tests 2018-10-23 11:22:09 -07:00
Yash Tibrewal d8cfd96fb2 Adding tests using the callback API 2018-10-22 16:43:43 -07:00
Yash Tibrewal b358ef85dc Merge branch 'master' into interceptors 2018-10-22 10:39:27 -07:00
Yash Tibrewal 9b83b7d19e Adding intercepted channel 2018-10-22 02:42:03 -07:00
Yash Tibrewal 3a17f5b05e Working on tests 2018-10-21 23:06:21 -07:00
Yash Tibrewal b232bacf27 Starting on server interceptors 2018-10-16 14:11:07 -07:00
Yash Tibrewal f9fe345553 Add more tests for client interceptors 2018-10-16 14:11:07 -07:00
Yash Tibrewal 6f05a711e6 Adding a test 2018-10-16 14:10:17 -07:00
Mark D. Roth f4e65787b6 Merge remote-tracking branch 'upstream/master' into health_checking_service 2018-10-15 13:12:26 -07:00
Hope Casey-Allen 12925d6fc8 Move check closer to relevant code 2018-10-11 14:38:26 -07:00
Hope Casey-Allen 3ed3c8c071 Add metadata streaming tests 2018-10-11 14:24:17 -07:00
ncteisen 0b0f21b3d2 C++ Channelz GetServerSockets Support 2018-10-09 12:07:13 -07:00
ncteisen a64cb54de1 Channel trace is limited by memory 2018-10-02 17:33:07 -07:00
ncteisen 038e760a7d Channelz C++ Socket support 2018-09-27 14:20:57 -05:00
Mark D. Roth be1ce0c4cc Revert "Merge pull request #16600 from grpc/revert-16574-health_checking_service"
This reverts commit de11358660, reversing
changes made to 107d10ea73.
2018-09-25 11:42:57 -07:00
Vijay Pai 3ee2919623
Merge pull request #16646 from vjpai/callback_codegen_client_unary
EXPERIMENTAL: Codegen for callback client unary calls
2018-09-20 16:35:33 -07:00
Juanli Shen 974d66f94f Fix tag variable 2018-09-19 17:28:41 -07:00
Vijay Pai 830e5ad5df Merge branch 'master' into callback_codegen_client_unary 2018-09-19 17:03:00 -07:00
Vijay Pai f6e7b778c4
Merge pull request #16655 from vjpai/callback_tidy
Callback API: Fix clang-tidy concerns
2018-09-19 12:58:02 -07:00
Juanli Shen a0578f075c
Merge pull request #16651 from AspirinSJL/improve_force_creation
Change force_creation from atm to bool
2018-09-19 12:55:11 -07:00
Vijay Pai deb3126611 Fix clang-tidy concerns 2018-09-19 11:29:11 -07:00
Juanli Shen dd10cbc554 Change force_creation from atm to bool 2018-09-19 10:28:39 -07:00
Vijay Pai 845bc9ae21 Add more test cases 2018-09-18 16:48:46 -07:00
Vijay Pai 47ae48e20c Fix conflict 2018-09-18 12:10:33 -07:00
Vijay Pai a1e87be377 Merge branch 'master' into callback_codegen_client_unary 2018-09-18 12:09:02 -07:00
Vijay Pai 42a0ed43cb Add a test 2018-09-18 12:04:31 -07:00
Vijay Pai 73d89a66f9 Catch exceptions in user callbacks 2018-09-14 16:56:19 -07:00
Vijay Pai 3bc10c0f44
Merge pull request #16492 from vjpai/client_callback
EXPERIMENTAL: C++  generic client-side unary callback API
2018-09-12 09:03:49 -07:00
Noah Eisen 71aa60265c
Merge pull request #16360 from ncteisen/channelz-cpp-server
Channelz++ Part 3: GetServers Support
2018-09-11 12:01:17 -07:00
Mark D. Roth 42d9becd91
Revert "Second attempt: Implement Watch method in health check service." 2018-09-10 14:06:52 -07:00
ncteisen 6ef3b0dc2b Merge branch 'master' of https://github.com/grpc/grpc into channelz-cpp-server 2018-09-10 14:03:40 -07:00
ncteisen 722bc69966 Merge branch 'master' of https://github.com/grpc/grpc into channelz-server 2018-09-10 12:28:21 -07:00
ncteisen 4205b97dd9 reviewer feedback 2018-09-07 16:02:08 -07:00
Vijay Pai ccddc1bd17 Initialize bool 2018-08-30 15:46:27 -07:00
Vijay Pai 8bf52535d1 Provide a generic client-side unary callback API 2018-08-30 15:46:27 -07:00
Juanli Shen 14a858123d
Revert "Implement Watch method in health check service." 2018-08-29 21:36:41 -07:00
ncteisen f1931ef624 Merge branch 'channelz-cpp' into channelz-cpp-server 2018-08-28 17:20:50 -07:00
ncteisen 72ac3d0cb1 Merge branch 'channelz-server' into channelz-cpp-server 2018-08-28 17:17:16 -07:00
ncteisen e165579d3e Subchannel support to C++ 2018-08-28 17:16:17 -07:00
ncteisen 6076b1d798 Merge branch 'channelz-subchannels' into channelz-server 2018-08-28 12:55:40 -07:00
Mark D. Roth 4d985efe19
Merge pull request #16351 from markdroth/health_checking_service
Implement Watch method in health check service.
2018-08-28 11:59:22 -07:00
Mark D. Roth 99ce3e19af Implement Watch method in health check service. 2018-08-28 08:51:52 -07:00
Mark D. Roth 4312d1217e clang-format 2018-08-20 13:10:22 -07:00
Mark D. Roth 4eceb65aaa Merge remote-tracking branch 'upstream/master' into pf_keep_unselected_subchannels 2018-08-20 12:24:56 -07:00
Juanli Shen 25f7d0f6f4 Revert to TRANSIENT_FAILURE during backoff 2018-08-17 13:25:15 -07:00
Mark D. Roth aad7884233 Code review changes. 2018-08-17 11:24:54 -07:00
Mark D. Roth e9e92d443c Merge remote-tracking branch 'juanlishen/pf_check_state_before_watch' into pf_keep_unselected_subchannels 2018-08-17 08:11:10 -07:00
Mark D. Roth 4d6f002780 Code review changes and fix threading bug in test. 2018-08-17 08:09:32 -07:00
Juanli Shen d19fd1c689 PF: Check connectivity state before watching 2018-08-16 17:54:27 -07:00
Yang Gao b840d5e45c
Revert "Add more filter priority levels" 2018-08-16 08:58:26 -07:00
Vijay Pai 8a86f5329e
Merge pull request #16356 from vjpai/exhaustion
C++ sync server: Return status RESOURCE_EXHAUSTED if no thread quota available
2018-08-15 19:52:23 -07:00
Vijay Pai 16f738359d Make sure that we actually saw some resource exhaustion if applicable 2018-08-15 16:30:59 -07:00
David Garcia Quintas d08ea3025b Fixed ordering in adding pending picks to PF 2018-08-15 13:43:15 -07:00
ncteisen 70ef911343 Add C++ support for GetServers 2018-08-15 12:05:58 -07:00
ncteisen 408f64c3a1 Merge branch 'channelz-server' into channelz-cpp-server 2018-08-15 11:11:57 -07:00
ncteisen f3c600f335 Fix up C++ test to be more stable 2018-08-15 10:56:32 -07:00
Vijay Pai 14ad82a76d Create a new method handler for resource exhaustion and tie into thread mgr 2018-08-14 16:23:21 -07:00
ncteisen 0bf39e2a13 Subchannel support to C++ 2018-08-13 13:56:36 -07:00
Mark D. Roth f6dea9ec6a Add another test. 2018-08-13 10:33:28 -07:00
Mark D. Roth 4e1e6ceda9 Fix pick_first to not throw away unused subchannels. 2018-08-13 09:44:53 -07:00
Juanli Shen 186df431de As per review 2018-08-10 15:00:16 -07:00
Juanli Shen 9b72650125 PF: Check connectivity state before watching 2018-08-09 21:54:11 -07:00
Mark D. Roth 60069baa6a
Merge pull request #16225 from markdroth/reset_connection_backoff
Reset connection backoff
2018-08-07 08:09:59 -07:00
Yang Gao be49852233
Merge pull request #16214 from yang-g/order_order_please
Add more filter priority levels
2018-08-06 23:50:18 -07:00
Juanli Shen 10d129476a Use param 2018-08-06 15:56:19 -07:00
Mark D. Roth f7e72560b6 Add experimental API for resetting connection backoff. 2018-08-06 14:46:53 -07:00
yang-g d6ef707422 Add more filter priority levels 2018-08-01 11:22:32 -07:00
Juanli Shen b0e41f6c7d Fix re-resolution in pick_first 2018-07-24 20:54:48 -07:00
ncteisen 18a9d7d57c reviewer feedback 2018-07-20 09:29:05 -07:00
ncteisen b47214952b reviewer feedback 2018-07-19 15:19:43 -07:00
ncteisen 6104e4f33b Move ChannelzServicePlugin to public, experimental 2018-07-19 14:59:10 -07:00
ncteisen 9620118390 Remove blank line 2018-07-19 11:24:04 -07:00
ncteisen c194528844 Adds C++ Channelz Service 2018-07-18 18:24:19 -07:00
Juanli Shen be40b0d3a8 Add server load reporting service 2018-07-13 19:52:59 -07:00
David Garcia Quintas 8427571d06 fix test comment and small code tweak 2018-07-10 18:52:01 -07:00
David Garcia Quintas 50409fea27 Simplified the test significantly. No more threads 2018-07-10 16:10:28 -07:00
David Garcia Quintas 30d39c4738 Clarify new test comment 2018-07-10 15:40:02 -07:00
David Garcia Quintas e41cae3081 Added TODO 2018-07-10 13:39:45 -07:00
David Garcia Quintas d1deaad1be Added test 2018-07-09 20:09:18 -07:00
ncteisen 7d474811ab Reviewer feedback 2018-06-29 14:59:59 -07:00
ncteisen a0a59537d2 s/CodegenGeneric/Raw/g 2018-06-28 18:52:01 -07:00
ncteisen d170b83e0d Allow AsyncServer with one generic to compile 2018-06-20 07:59:05 -07:00
ncteisen a6194db176 Add codegen generic to hybrid tests 2018-06-20 07:59:05 -07:00
ncteisen bacd625d37 Add end2end test for codegen_generic 2018-06-20 07:59:05 -07:00
Noah Eisen 373fc6dc40 Manual fixes to enable performance- clang tidy checks 2018-06-14 14:58:09 -04:00
Noah Eisen 58e0cbf9fb Enable the performance-* clang-tidy checks 2018-06-14 14:58:09 -04:00
yang-g 5c67fae9eb Add test 2018-06-08 11:53:31 -07:00
Mark D. Roth 420db80e73 Increase client load reporting interval to avoid test flake. 2018-06-06 10:23:15 -07:00
Mark D. Roth ebb53843b6 Remove orphaned test. 2018-06-01 14:48:13 -07:00
kpayson64 5883569eee
Merge pull request #15523 from kpayson64/client_lb_flake
Add more failure logging to client_lb_end2end_test
2018-05-23 11:10:07 -07:00
kpayson64 e169f20cd0 Add more failure logging to client_lb_end2end_test 2018-05-23 09:38:00 -07:00
Sree Kuchibhotla 94d9034673 Merge branch 'master' into fix-time 2018-04-18 10:18:34 -07:00
Sree Kuchibhotla 1dd12c084a Fix some more formatting issues 2018-04-16 12:09:37 -07:00
Nicolas Noble 6d3e7f7cd4
Merge pull request #13539 from grpc/AspirinSJL-patch-1
Fix comment in test UpdateBalancersDeadUpdate
2018-04-12 16:56:30 -07:00
David Garcia Quintas caa2605a28 Don't capture unnecessary or unused variables 2018-03-21 18:25:22 -07:00
Vijay Pai cdddc8ce42 Desneak client unary call, avoid Hyrum's Law (used for 1-thread simplicity) 2018-03-20 08:46:28 -07:00
David Garcia Quintas 6234054aa8 Verify LB doesn't receive call creds 2018-03-13 18:59:40 -07:00
kpayson64 539f5068bd Abstract libuv implementation
Structures the libuv implementation to allow for a plugable
BSD style socket implementation to allow for other IO Managers
2018-03-13 01:21:42 -07:00
Vijay Pai a7f52a62ba
Merge pull request #14660 from vjpai/exception_10x
Run exception tests 10x to make sure server doesn't crash
2018-03-09 16:42:24 -08:00
Vijay Pai c04c53b38e Run exception tests 10x to make sure server doesn't crash 2018-03-09 15:15:32 -08:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Vijay Pai 6eae794c9f
Merge pull request #14459 from vjpai/2phase_thd
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-03-02 21:13:28 -08:00
David Garcia Quintas e3438c43a0 Fix and simplify SingleBalancerTest.InitiallyEmptyServerlist 2018-03-01 16:39:52 -08:00
Vijay Pai b357f2f548 Merge branch 'master' into 2phase_thd 2018-03-01 11:48:29 -08:00
David Garcia Quintas 2614494f3c grpclb_end2end test tweaks for compiler happiness 2018-02-28 17:34:55 -08:00
David Garcia Quintas ad0996b9f3 Perform secure naming checks in grpclb_end2end_test 2018-02-27 19:11:50 -08:00
Vijay Pai 8b05d0284f Merge branch 'master' into 2phase_thd 2018-02-24 10:37:13 -06:00
Juanli Shen 5739d34c46
Merge pull request #14497 from AspirinSJL/fix_rpc_failure_flake
Add warmup before first batch in UpdateBalancers tests
2018-02-23 14:07:01 -08:00
Mark D. Roth a90d718cb8
Merge pull request #14455 from markdroth/grpclb_channel_args
Refactor code for generating balancer channel args.
2018-02-23 09:23:25 -08:00
Vijay Pai 9d7e57cac4 Merge branch 'master' into 2phase_thd 2018-02-22 14:33:24 -08:00
Juanli Shen acdefd7646 Add warmup before first batch 2018-02-22 13:46:00 -08:00
Vijay Pai a8453a20d8 Merge branch 'master' into 2phase_thd 2018-02-21 10:24:15 -08:00
Adele Zhou 1c805ec901 Add more bazel tests 2018-02-20 17:46:39 -08:00
Yuchen Zeng 8c259b1a62 Remove C++ end2end test owners 2018-02-20 12:42:30 -08:00
Mark D. Roth bd0f15119a Refactor code for generating balancer channel args. 2018-02-20 10:28:22 -08:00
Vijay Pai da69355f30 C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start) 2018-02-19 22:39:58 -08:00
Juanli Shen 10142e4651 Fix test again 2018-02-16 14:27:59 -08:00
Juanli Shen 87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution"""" 2018-02-15 09:42:45 -08:00
David G. Quintas f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution""" 2018-02-12 20:55:27 -08:00
Vijay Pai 1d168541fd
Merge pull request #14407 from vjpai/gpr_review_thd
GPR review: Internalize most of gpr_thd (but not ID/current ID)
2018-02-12 20:06:56 -08:00