Commit Graph

2883 Commits

Author SHA1 Message Date
Vijay Pai 4bc0b2b661 Merge pull request #12852 from vjpai/rent
Reduce # of message sizes used in each async_end2end_test scenario
2017-10-05 18:08:03 -07:00
Vijay Pai b83077bace Merge pull request #12855 from vjpai/new_const
Add some const
2017-10-05 18:07:03 -07:00
Vijay Pai f063f7951f Add some const that is now allowed 2017-10-05 15:41:40 -07:00
Vijay Pai 541974a709 Eliminate magic #s, follow API 2017-10-05 15:16:22 -07:00
Vijay Pai c4afc644f7 Reduce # of message sizes used in each scenario 2017-10-05 14:40:34 -07:00
Yang Gao 3734801aad Merge pull request #12828 from yang-g/delete_stress_clients
Properly clean up stress test clients
2017-10-05 13:37:52 -07:00
Craig Tiller 76eab735f4 Merge github.com:grpc/grpc into flowctl+millis 2017-10-05 08:36:34 -07:00
Jan Tattermusch 768c894519 reduce timeout for json_run_localhost 2017-10-05 14:03:11 +02:00
yang-g 53a64b9936 Properly clean up stress test clients 2017-10-04 12:36:49 -07:00
Craig Tiller ced7653a1c Merge branch 'flowctlN' into flowctl+millis 2017-10-02 11:54:10 -07:00
Yuchen Zeng 5dd2f48e24 Fix windows build 2017-09-29 14:52:33 -07:00
Yuchen Zeng b5eaf7734c gRPC CLI batch mode 2017-09-29 14:51:10 -07:00
Craig Tiller 1e868f0f95 Merge github.com:grpc/grpc into flowctl+millis 2017-09-29 11:18:26 -07:00
yang-g 3c00328b62 Add a simple test 2017-09-28 22:00:35 -07:00
apolcyn e4895675f2 Merge pull request #12651 from apolcyn/cares_srv_master_after_uinittests
Add c-ares resolver tests against GCE DNS, redo of #12010
2017-09-28 12:15:40 -07:00
Alexander Polcyn 9e3a76ba71 Add c-ares resolver tests against GCE DNS, using the unit test. 2017-09-27 16:47:56 -07:00
Juanli Shen fe40815682 Readd grpclb fallback 2017-09-27 12:27:20 -07:00
Yuchen Zeng 806c9c8aba Merge pull request #12631 from y-zeng/dns_fix
Drain readable fds in grpc_ares_ev_driver_posix
2017-09-22 14:16:44 -07:00
Craig Tiller 710334577c Fix sanity 2017-09-22 07:47:15 -07:00
Craig Tiller cfb2da4445 Merge github.com:grpc/grpc into flowctl+millis 2017-09-22 07:21:12 -07:00
Vijay Pai 2046d0b3c5 Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip 2017-09-21 22:23:44 -07:00
Vijay Pai 87973ea398 Merge pull request #12573 from grpc/revert-12572-revert-12214-cereal_eye_sir
Fix-forward: Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer
2017-09-21 22:21:19 -07:00
Craig Tiller 6bfb8589ad Merge github.com:grpc/grpc into flowctl+millis 2017-09-21 15:12:43 -07:00
Craig Tiller f7225eb5f6 Fix some stalling in bm_fullstack_trickle, also switch to synthetic time 2017-09-21 14:59:28 -07:00
David G. Quintas 6bdd49b3ce Merge pull request #12627 from dgquintas/fix_grpclbend2end_flakiness_for_the_nth_time_already
Backends must be up before some grpclb tests start.
2017-09-21 13:40:40 -07:00
Craig Tiller 05d77d8b21 Merge github.com:grpc/grpc into flowctl+millis 2017-09-21 13:39:01 -07:00
Vijay Pai efce6e1e50 Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"" 2017-09-21 13:12:52 -07:00
Vijay Pai 22410e0d99 Merge pull request #12623 from vjpai/one_sided
C++ QPS tests: Cancel outstanding streams when shutting down the async client
2017-09-21 12:20:44 -07:00
Craig Tiller ff58b27696 Make generic_test tolerant of encoding 2017-09-21 10:40:42 -07:00
Craig Tiller 1a8f1e831d Make alarm_test tolerant of threading 2017-09-21 10:07:36 -07:00
Craig Tiller c1f288dedb Bug fixes, remove async e2e dependence on flow control size 2017-09-20 21:59:21 -07:00
Yuchen Zeng 46c821fe81 Remove extra record_to_resolve 2017-09-20 19:23:22 -07:00
Yuchen Zeng 79c12b9dc0 Drain readable fd 2017-09-19 14:23:37 -07:00
Craig Tiller 6a34067d16 Merge github.com:grpc/grpc into grpc_millis 2017-09-19 12:44:15 -07:00
Craig Tiller d0ceb377a4 clang-format 2017-09-19 12:02:31 -07:00
Craig Tiller 4aa2331958 Fix compile 2017-09-19 19:01:56 +00:00
Vijay Pai 43b55221e4 Cancel outstanding streams when shutting down the client 2017-09-19 11:45:56 -07:00
Craig Tiller 350a4239fe Fix compile error 2017-09-18 22:41:24 -07:00
David Garcia Quintas 588e36a3e3 Get rid of magic numbers 2017-09-18 20:01:27 -07:00
David Garcia Quintas 7d764673ef Backends must be up before some grpclb tests start. 2017-09-18 19:10:54 -07:00
Craig Tiller 50448beab3 Merge github.com:grpc/grpc into grpc_millis 2017-09-18 13:56:51 -07:00
Craig Tiller adbcec4f57 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-18 08:57:19 -07:00
Nicolas Noble e63cdce8b6 Merge pull request #12269 from vjpai/race_issues
Allow construction of async stream objects without triggering async operations
2017-09-15 16:00:45 -07:00
apolcyn 39e4fda0c8 Merge pull request #12210 from apolcyn/local_dns_server
Run a local DNS server in run_tests and add c-ares tests with it
2017-09-15 12:38:03 -07:00
Vijay Pai 4b047a3bff Construction of streams shouldn't require triggering async ops 2017-09-14 17:55:13 -07:00
Alexander Polcyn 27bf05d003 Add tests for c-ares wrapper using a local DNS server. 2017-09-14 14:32:30 -07:00
Yash Tibrewal c086c7e25a Merge branch 'master' into revert_lb_stuff 2017-09-14 10:05:46 -07:00
Jan Tattermusch 5432dd8874 Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer" 2017-09-14 17:55:42 +02:00
Ken Payson 01e83b55e4 Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
This reverts commit aba0a0a544.
2017-09-13 19:45:07 -07:00
kumaralokgithub e93da819e0 Merge pull request #12549 from kumaralokgithub/bamm2
Add independent library targets for newly added .h files for microben…
2017-09-13 18:03:45 -07:00
Vijay Pai 4a4bd1cd2d Merge pull request #12214 from vjpai/cereal_eye_sir
Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer
2017-09-13 13:43:39 -07:00
Alok Kumar 6b84005651 Add independent library targets for newly added .h files for microbenchmarks. Also fix includes in fullstack_fixtures.h 2017-09-13 13:34:45 -07:00
Craig Tiller 64f8b129dd Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-13 12:39:21 -07:00
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
Craig Tiller 8e87c74fe9 Fix compilation for C++ 2017-09-11 14:06:09 -07:00
Craig Tiller bbe282f600 Merge github.com:grpc/grpc into grpc_millis 2017-09-11 12:11:40 -07:00
Craig Tiller 4aac9a664a Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-11 12:09:03 -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 ed26a49b2c Add annotation 2017-09-10 20:59:11 -07:00
Craig Tiller 55863ff527 Merge github.com:grpc/grpc into write_completion 2017-09-08 14:39:15 -07:00
David G. Quintas 729448f2ed Merge pull request #12318 from dgquintas/fix_epoll1_flakiness_client_lb_e2e
{grpclb,client_lb}_end2end: Fix epoll1 flakes
2017-09-08 13:46:54 -07:00
Craig Tiller fabb513fe4 Merge 2017-09-08 11:45:11 -07:00
Craig Tiller 4f5acf73c9 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-08 11:38:41 -07:00
David G. Quintas 11b4ddde59 Merge pull request #12200 from dgquintas/rename_lr_to_plugin
Renamed load_reporting.{c,h} to load_reporting_plugin.{c,h}
2017-09-08 10:22:08 -07:00
Vijay Pai 7f6a27a4d3 Merge pull request #12372 from vjpai/armalarmadingdong
Core API change: Decouple alarm construction from setting to avoid races in MT code
2017-09-07 18:34:56 -07:00
kumaralokgithub bf3b8445fe Merge pull request #12402 from kumaralokgithub/master
Partition microbenchmarks to be easily shareable with google specific transports
2017-09-07 18:33:10 -07:00
Craig Tiller 56969c2784 Merge github.com:grpc/grpc into pollset_kick_stats 2017-09-07 15:54:59 -07:00
David Garcia Quintas 1faa48ead3 Merge branch 'master' of github.com:grpc/grpc into rename_lr_to_plugin 2017-09-07 15:29:03 -07:00
Vijay Pai 677395558d Allow SerializationTraits to use grpc::ByteBuffer, not just grpc_byte_buffer 2017-09-07 15:18:07 -07:00
Craig Tiller 38b15c8ca3 Merge branch 'write_completion' into write_completion_stats 2017-09-07 14:48:52 -07:00
Craig Tiller dfc6cffdf8 Merge github.com:grpc/grpc into write_completion 2017-09-07 14:48:40 -07:00
Craig Tiller 9e3af382fb Merge github.com:grpc/grpc into stats_histo 2017-09-07 14:47:55 -07:00
Craig Tiller da8a169928 Merge github.com:grpc/grpc into grpc_millis 2017-09-07 14:47:26 -07:00
Mark D. Roth 8941f607d6 Merge pull request #12369 from markdroth/call_combiner
Second attempt at call combiner PR
2017-09-07 14:43:47 -07:00
David Garcia Quintas c3c7e5548f {grpclb,client_lb}_end2end: Fix epoll1 flakes 2017-09-07 14:24:58 -07:00
Craig Tiller 99bdb388a7 Merge branch 'write_completion' into write_completion_stats 2017-09-07 13:39:45 -07:00
Craig Tiller a8fc020e0f Merge github.com:grpc/grpc into write_completion 2017-09-07 13:39:26 -07:00
Craig Tiller 022ad3ae89 Merge branch 'stats_histo' into write_completion_stats 2017-09-07 13:01:56 -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
Craig Tiller cd78a50084 Merge github.com:grpc/grpc into stats_histo 2017-09-07 12:19:47 -07:00
Vijay Pai 58c33ba19b Decouple alarm construction from setting to avoid races in MT code 2017-09-07 11:34:13 -07:00
Craig Tiller c1453ca8c2 Revert "Annotate benign race"
This reverts commit 6869da4d65.
2017-09-07 10:19:43 -07:00
Alok Kumar c2ec4d6ea9 Merge remote-tracking branch 'upstream/master' 2017-09-06 21:25:47 -07:00
David Garcia Quintas 0822d331df s/load_reporting/server_load_reporting 2017-09-06 18:18:48 -07:00
Alok Kumar 1b6f4fc79f Clang format modified files 2017-09-06 17:15:04 -07:00
Alok Kumar dd9916d364 Fix microbenchmarks BUILD file 2017-09-06 17:15:04 -07:00
Alok Kumar e0399c29c5 Partition microbenchmarks to be easily sharable for google specific transports 2017-09-06 17:14:38 -07:00
Craig Tiller 3749a6d417 Merge github.com:grpc/grpc into stats_histo 2017-09-06 13:28:22 -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 6869da4d65 Annotate benign race 2017-09-06 09:49:02 -07:00
Craig Tiller e1101cf099 Update Bazel for new systems 2017-09-06 09:42:20 -07:00
Craig Tiller b675e0a0af Annotate benign race 2017-09-06 09:22:39 -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 ee090ec975 Merge github.com:grpc/grpc into wc 2017-09-01 10:30:11 -07:00
Craig Tiller 9bebf8b22a C++ API for write-through 2017-09-01 10:20:13 -07:00
Craig Tiller 6ba448fb55 Merge github.com:grpc/grpc into write_completion 2017-09-01 10:09:30 -07:00
Craig Tiller 0ff222a23b Add pollset_kick stats 2017-09-01 09:41:43 -07:00
Mark D. Roth 764cf04a13 Revert "Revert "Implement call combiner""
This reverts commit bf19961d0a.
2017-09-01 09:00:06 -07:00
Craig Tiller 2897235609 Expose stats into qps_driver 2017-08-31 15:52:57 -07:00
Craig Tiller 890f542498 Merge branch 'stats' into stats_histo 2017-08-31 12:24:15 -07:00
Craig Tiller ccad38227f Merge github.com:grpc/grpc into stats 2017-08-31 12:23:53 -07:00
Craig Tiller 5489d41c15 Expose histograms via microbenchmarks 2017-08-31 12:20:04 -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
Mark D. Roth bf19961d0a Revert "Implement call combiner" 2017-08-29 16:59:07 -07:00
Craig Tiller 03c908fc9e Merge github.com:grpc/grpc into stats 2017-08-29 12:34:10 -07:00
Craig Tiller d9b82bdecb Merge github.com:grpc/grpc into grpc_millis 2017-08-29 12:16:56 -07:00
Vijay Pai 6defb325d9 Remove some pre-C++11-style workarounds 2017-08-29 08:44:54 -07: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
Mark D. Roth ff4f2db4b9 Merge pull request #11566 from markdroth/call_combiner
Implement call combiner
2017-08-25 09:05:04 -07:00
Mark D. Roth 76e264b8df Implement call combiner. 2017-08-25 09:03:33 -07:00
Noah Eisen cad427b2f7 Merge pull request #12227 from ncteisen/bazel-microbenchmarks
Microbenchmarks Work With Bazel
2017-08-24 14:13:08 -07:00
Vijay Pai c38955501b Move some internal includes to the right places 2017-08-24 10:16:40 -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
ncteisen c302eb9840 Microbenchmarks work with bazel 2017-08-22 12:24:54 -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
Vijay Pai e1418e4ab1 Switch to idiomatic Slice API 2017-08-09 22:03:16 -07:00
Vijay Pai ce58cf8c44 Add Slice constructors to match all grpc_slice cases 2017-08-04 07:48:48 -07:00
Vijay Pai e252e5fd9d Merge pull request #12025 from vjpai/bazel_unsec
Test grpc++_unsecure in Bazel build
2017-08-03 12:10:57 -07:00
David G. Quintas 8eb47ed250 Merge pull request #12051 from dgquintas/fix_grpclbend2end_condvars
Condition variables are not latches
2017-08-03 09:40:56 -07:00
Vijay Pai 81522c8ebe Add unsecure libraries to bazel build targets 2017-08-02 19:44:32 -07:00
David Garcia Quintas ecabe09b89 Condition variables are not latches 2017-08-02 18:39:31 -07:00
ncteisen af313caab8 Eliminate copy in QPS Driver 2017-08-02 16:05:48 -07:00
ncteisen ab04027e47 Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-08-01 10:58:29 -07:00
Vijay Pai dc1cfe9e21 Merge pull request #11978 from vjpai/remake
Clean up grpc++_unsecure so that it doesn't require secure content anymore
2017-07-31 12:58:44 -07:00
Yang Gao f787594e68 Merge pull request #11703 from yang-g/cq_shutdown
Allow adding events to cq after shutdown is called.
2017-07-31 07:37:31 -07:00
Vijay Pai 4280725bb3 Clean up grpc++_unsecure so that it doesn't require secure content anymore 2017-07-30 23:53:27 -07:00
ncteisen fb193a1e2f Merge branch 'master' of https://github.com/grpc/grpc into flow-control-v3 2017-07-28 15:47:32 -07:00
yang-g 7d6b914f98 Change return type to bool 2017-07-28 12:49:40 -07:00
yang-g 0eaf7debd2 Allow adding events to cq after shutdown is called. 2017-07-28 12:49:40 -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 G. Quintas aaf623ac66 Merge pull request #11965 from dgquintas/grpclb_lb_channel_conn_state_subscription
Watch the LB channel using the right initial conn. state
2017-07-28 11:00:18 -07:00
David Garcia Quintas fc950fbeb5 Fix bug in handling of RR connectivity transition to SHUTDOWN 2017-07-27 19:56:30 -07:00
ncteisen 0133cc6fd8 Avoid benchmarking allocs 2017-07-27 19:45:24 -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
Vijay Pai 196d3d6ee8 Merge pull request #11928 from grpc/revert-11572-internalize
Revert "Separate internal-only and public parts of C++ API"
2017-07-25 10:26:01 -07:00
Vijay Pai 3b914413a8 Merge pull request #11907 from vjpai/testlast
Move gtest last
2017-07-25 10:04:43 -07:00
Vijay Pai bc81eee4d4 Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API 2017-07-25 01:51:28 -07:00