Commit Graph

755 Commits

Author SHA1 Message Date
Juanli Shen 3bf7b714a5 Merge pull request #12187 from AspirinSJL/lb_fallback
Add LB fallback to use when we can't contact any balancer.
2017-09-13 10:46:44 -07:00
Juanli Shen aba0a0a544 Add fallback (use backends from resolver if can't reach balancer) to grpclb. 2017-09-11 09:22:48 -07:00
Craig Tiller 55863ff527 Merge github.com:grpc/grpc into write_completion 2017-09-08 14:39:15 -07:00
David Garcia Quintas c3c7e5548f {grpclb,client_lb}_end2end: Fix epoll1 flakes 2017-09-07 14:24:58 -07:00
Craig Tiller a8fc020e0f Merge github.com:grpc/grpc into write_completion 2017-09-07 13:39:26 -07:00
Yuchen Zeng b6ef6e9ff5 Merge pull request #12080 from y-zeng/connectivity
Reconnect channels automatically in C++ clients
2017-09-07 12:59:41 -07:00
Craig Tiller ff952d292f Merge github.com:grpc/grpc into write_completion 2017-09-07 12:52:44 -07:00
David Garcia Quintas a28cca8447 Condition variables are not latches, again 2017-09-06 12:57:25 -07:00
Yuchen Zeng b5dd3abad9 Increase the grace period in ReconnectChannel tests 2017-09-06 11:33:22 -07:00
Craig Tiller a82b6dbac8 Merge github.com:grpc/grpc into write_completion 2017-09-05 12:47:07 -07:00
Nicolas "Pixel" Noble fc49d6edab Splitting gmock out of gtest. 2017-09-01 23:53:34 +02:00
Craig Tiller 9bebf8b22a C++ API for write-through 2017-09-01 10:20:13 -07:00
Craig Tiller 8fd40d5ed9 Merge github.com:grpc/grpc into wc 2017-08-31 10:54:11 -07:00
Nicolas "Pixel" Noble 90df76b463 Merge branch 'master' of https://github.com/grpc/grpc into visibility 2017-08-30 23:13:25 +02:00
Nicolas "Pixel" Noble 2bc5e3ac40 Moving visibility and package creation to the build system. 2017-08-30 19:18:37 +02:00
Yuchen Zeng eeea43fa24 Increase the grace period in ReconnectChannel tests 2017-08-28 22:57:28 -07:00
David Garcia Quintas 52ba957f83 Removed in_connectivity_shutdown from RR 2017-08-28 06:01:52 -07:00
Yuchen Zeng 4a11ecc076 Add ChannelConnectivityWatcher::Ref()/Unref() 2017-08-25 15:17:45 -07:00
Yuchen Zeng b4481a9a13 Share one monitoring thread between channels 2017-08-24 03:13:42 -07:00
Yuchen Zeng bfb4e06e3c Check connectivity intermittently 2017-08-23 23:47:15 -07:00
Yuchen Zeng a2e506e8d9 Avoid using timers 2017-08-22 20:46:52 -07:00
Yuchen Zeng ee3e3310bb Add reconnect channel tests 2017-08-22 18:56:25 -07:00
David Garcia Quintas 3732f869e1 PR comments 2017-08-22 11:17:13 -07:00
David Garcia Quintas a2c1df4dcd RR: Initialize subchannel connectivity state 2017-08-21 15:20:58 -07:00
David Garcia Quintas ecabe09b89 Condition variables are not latches 2017-08-02 18:39:31 -07:00
David G. Quintas 433f7bce2d Merge pull request #11948 from dgquintas/grpclb_fix_rr_shutdown_connectivity
Fix bug in handling of RR connectivity transition to SHUTDOWN
2017-07-28 11:59:17 -07:00
David Garcia Quintas fc950fbeb5 Fix bug in handling of RR connectivity transition to SHUTDOWN 2017-07-27 19:56:30 -07:00
David Garcia Quintas 6a7935e14e Watch the LB channel using the right initial conn. state 2017-07-27 19:24:52 -07:00
Mark D. Roth e7751807e2 Use new protocol for reporting dropped calls to grpclb balancer. 2017-07-27 12:31:45 -07:00
David Garcia Quintas c22c65b58d grpclb: deal with all-drops serverlists 2017-07-25 14:22:20 -07:00
Mark D. Roth e0778b2c18 Add cancellation to asynchronous security APIs. 2017-07-21 15:42:00 -07:00
Craig Tiller 764cdbaaf0 Merge github.com:grpc/grpc into write_completion 2017-07-17 16:32:50 -07:00
Vijay Pai fd82a6cb4f Merge pull request #11145 from vjpai/inproc3
In-process transport
2017-07-15 20:05:26 -07:00
Vijay Pai 8dc4f101cb Disbable a specific check on async_end2end_test and revisit later if that expectation was really required by the API 2017-07-14 16:23:54 -07:00
Vijay Pai 3d7d5f4ed2 Create inproc transport, add relevant tests, exclude irrelevant tests 2017-07-14 16:23:54 -07:00
Craig Tiller 31af436d96 Fixes for async_end2end_test: Shutdown() can block 2017-07-14 15:48:17 -07:00
David G. Quintas 0c9ce72218 Merge pull request #11761 from dgquintas/lb_update_connector_fix
RR: fix subchannel list handing
2017-07-14 12:21:55 -07:00
David G. Quintas 24a4b31c07 Merge pull request #11726 from dgquintas/fix_grpclb_test_deadlocks
Fix deadlocks in grpclb_end2end_test
2017-07-14 12:17:54 -07:00
David Garcia Quintas 51d0ff0f3d Fix deadlocks in grpclb_end2end_test 2017-07-13 18:43:14 -07:00
David Garcia Quintas 9a4ed686b1 Improved testing 2017-07-13 16:12:30 -07:00
Nicolas Noble 9877189e45 Merge pull request #11310 from nicolasnoble/import
Import mutations.
2017-07-13 13:39:58 -07:00
Sree Kuchibhotla eede875bdb Disable health check service in async end2end tests as it is causing flakes in mac 2017-07-11 13:55:58 -07:00
David G. Quintas 05f6d7e5ae Merge pull request #11696 from dgquintas/rr_concurrent_updates_fix
Fix RR concurrent updates
2017-07-07 14:30:30 -07:00
Michael Lumish 4e014a2410 Merge pull request #11639 from murgatroid99/master_1.4.1_upmerge
Upmerge v1.4.x to master
2017-07-07 13:18:06 -07:00
David Garcia Quintas 4b2def361a Fix RR concurrent updates 2017-07-06 15:40:35 -07:00
Noah Eisen e09581de9a Merge pull request #11557 from ncteisen/writelast-bugfix
WriteLast Bugfix
2017-07-06 14:53:02 -07:00
murgatroid99 882ba60fcb Merge remote-tracking branch 'upstream/v1.4.x' into master_1.4.1_upmerge 2017-07-06 10:15:11 -07:00
David Garcia Quintas 3f223e342f Move gtest include after proto include 2017-07-05 21:47:09 -07:00
ncteisen 36bb8a0006 s/hanging/pending/g 2017-07-05 11:21:25 -07:00
ncteisen 43f2b55a07 Add repro and fix to bidi case 2017-07-05 10:33:21 -07:00
ncteisen be7b82ba5e Add repro for coalescing bug 2017-07-05 10:33:21 -07:00
ncteisen 9bee3086c3 Make stream responses togglable via context 2017-07-05 10:33:21 -07:00
Mark D. Roth 96e51c8e56 Merge pull request #11648 from markdroth/c++_filter_fixes
Improvements to C++ filter API
2017-06-30 11:41:45 -07:00
Mark D. Roth 2faddbd639 Fix filter_end2end_test. 2017-06-30 07:10:10 -07:00
Nicolas "Pixel" Noble 5d80dc4985 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-06-26 22:01:11 +02:00
David Garcia Quintas 05e15745d3 added test for RR connectivity state upon subchannels shutdown 2017-06-26 11:06:17 -07:00
David Garcia Quintas 64ea30fe5b Fix RR policy connectivity state upon subchannels shutdown 2017-06-23 17:45:00 -07:00
Mehrdad Afshari c02e39d14c Merge pull request #9823 from mjkim/fix_unkown
Fix typos
2017-06-12 10:46:40 -07:00
Jan Tattermusch 7e91ebb41d license fixes 2017-06-08 11:22:41 +02:00
Jan Tattermusch 4d5c3102a1 fix remaining license notices 2017-06-08 11:22:41 +02:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
David Garcia Quintas 87d5a3130d Implement LB policy updates 2017-06-06 19:45:58 -07:00
Nicolas "Pixel" Noble 7bc55fdaa3 Merge remote-tracking branch 'ctiller/build-wtf' into import 2017-05-26 00:32:47 +02:00
Nicolas "Pixel" Noble 5a1d197f1c Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-26 00:31:18 +02:00
Nicolas "Pixel" Noble 670d8bf675 Moving gtest to the end. 2017-05-25 21:25:02 +02:00
Nicolas "Pixel" Noble 6fa7236d24 Moving testing headers at the end. 2017-05-25 19:38:44 +02:00
Craig Tiller 840931eec9 More import fixes 2017-05-19 15:37:45 -07:00
Mark D. Roth f91eb714c2 Change round_robin LB policy to use the addresses in the order given. 2017-05-19 15:19:14 -07:00
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Mark D. Roth d7389b418f Implement grpclb drop support. 2017-05-17 12:22:17 -07:00
Nicolas "Pixel" Noble 0885f98863 Fixing mock test target. 2017-05-12 21:10:55 +02:00
Nicolas "Pixel" Noble 232e9b458b Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-12 20:15:06 +02:00
yang-g a044f6d3f5 Propagate deadline to GenericServerContext 2017-05-11 15:37:51 -07:00
Nicolas "Pixel" Noble eb36b8ac77 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-11 23:24:37 +02:00
Nicolas "Pixel" Noble 3726e3d37b Moving gtest include down.
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
2017-05-10 18:33:12 +02:00
Nicolas "Pixel" Noble 1e75dc8cad Add end2end_test_lib. 2017-05-09 06:57:22 +02:00
Mark D. Roth 64d922ae87 Make sure we set deadline for the LB call even without a pick.
As part of this, get the deadline from a channel arg instead of pick_args.
2017-05-03 12:52:04 -07:00
Mark D. Roth 09e458c6cd Implement client-side load reporting for grpclb. 2017-05-02 08:13:26 -07:00
David Garcia Quintas 0745356ab2 Apply slowdown factor to timeouts 2017-05-01 13:52:15 -07:00
David Garcia Quintas 04109e8f7d BUILD and #include fixes 2017-04-28 13:03:35 -07:00
David Garcia Quintas 04911ca202 New version of grpclb end2end test 2017-04-27 16:32:09 -07:00
MakMukhi c090c619c1 Merge pull request #10644 from MakMukhi/master
Added unit testing support.
2017-04-24 16:36:40 -07:00
Craig Tiller ae1e29eed9 Get dep in the right place 2017-04-19 09:07:23 -07:00
Craig Tiller 0a458b599e Fix Bazel build 2017-04-19 06:35:16 -07:00
Mahak Mukhi 443a75dd22 1. Added golden file test.
2. Added support for mock.
3. Sanity fix.
2017-04-14 15:33:55 -07:00
Mahak Mukhi 2814b5148e formatting 2017-04-13 14:45:26 -07:00
Mahak Mukhi e536eeb6d0 Added tests for uni-directional streaming RPCs. 2017-04-12 17:16:23 -07:00
Mahak Mukhi 31d92d42ff Initial commit: Auto-generate GMOCK code for client stub. 2017-04-12 17:16:23 -07:00
Nicolas "Pixel" Noble 7c26eed838 Buildifier and wrapping test/cpp/* rules with our build system. 2017-04-13 02:03:22 +02:00
Craig Tiller 75bfb97548 Finish hybrid server stuff, ensure it gets tested 2017-04-11 17:55:12 -07:00
yang-g f4c8addded support C++ error_details 2017-04-07 15:52:16 -07:00
Craig Tiller 7a8232d773 review feedback 2017-04-03 10:59:42 -07:00
Yuxuan Li bdc76ab37b bug fix 2017-03-08 10:59:31 -08:00
Yuxuan Li 34894e4b1c Implemented stream coalescing design
(RFC:https://github.com/grpc/proposal/pull/3). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
2017-03-08 10:59:31 -08:00
Yang Gao dc720ca6bf Merge pull request #9846 from yang-g/max_message_size
Stop receiving and add an error to batch when there is an error from lower level.
2017-02-27 12:40:04 -08:00
yang-g 23f777df08 When there is an error from filters (such as max recv message size too
large), add an error to the batch to avoid emitting new rpc on the
server side in C++.
2017-02-23 15:34:21 -08:00
Sree Kuchibhotla 43bca1be48 Add BUILD file for end2end tests too 2017-02-22 16:37:27 -08:00
Myungjun Kim f17d163a9b Fix typos
unkown -> unknown
fix unnecessary spacing
2017-02-23 01:55:44 +09:00
Sree Kuchibhotla fac16f6d3d Merge branch 'master' into surface_test_bazel 2017-02-21 08:50:31 -08:00
Sree Kuchibhotla a3bc1efe4f BUILD files for end2end tests 2017-02-17 21:05:54 -08:00