Commit Graph

2667 Commits

Author SHA1 Message Date
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
David G. Quintas b9223347bc Merge pull request #11539 from dgquintas/alarm_non_copyable
Make grpc::Alarm non-copyable
2017-06-29 14:19:58 -07:00
Mark D. Roth cc4ef5919f Improvements to C++ filter API:
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
2017-06-29 08:11:57 -07:00
David Garcia Quintas ab1ff6b041 Split move test 2017-06-28 14:14:24 -07:00
Noah Eisen dae8854b7d Merge pull request #11610 from ncteisen/v1.4.x-perf-bot-patch
Perf Bot Backport
2017-06-27 15:59:40 -07:00
ncteisen 131d2f19a1 Few more bm trickle fixes 2017-06-26 23:45:16 -07:00
ncteisen 81db061d2a Clang fmt and copyright sanity 2017-06-26 23:24:50 -07:00
ncteisen 8f9e012428 Add json out flag to qps driver 2017-06-26 23:15:51 -07:00
ncteisen 0911b1612a Fix bm_diff 2017-06-26 22:54:28 -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
Mark D. Roth 2024353b07 Merge pull request #11499 from markdroth/trailers_only
Add support for Trailers-Only responses.
2017-06-22 10:54:09 -07:00
Mark D. Roth bd3b93b4b5 Add support for Trailers-Only responses.
- When receiving a Trailers-Only response, return the metadata as
  trailing metadata instead of initial metadata.
- Send Trailers-Only response when we have no non-default initial metadata,
  no message to send, and trailing metadata to send.
2017-06-22 10:53:01 -07:00
David Garcia Quintas e48949f0b4 Make grpc::Alarm non-copyable 2017-06-20 15:42:56 -07:00
yang-g 32e1678327 Still create channel if remotedb is false. Just do not use it in the file parsing 2017-06-19 17:01:30 -07:00
ncteisen dc1b51e6b3 clang fmt 2017-06-19 09:00:25 -07:00
ncteisen 24e820762a Add json out flag to qps driver 2017-06-19 07:36:51 -07:00
Ken Payson c8e7a52fc7 Merge remote-tracking branch 'origin/master' into HEAD 2017-06-13 02:52:13 +00:00
Mehrdad Afshari c02e39d14c Merge pull request #9823 from mjkim/fix_unkown
Fix typos
2017-06-12 10:46:40 -07:00
ncteisen 274bbbe6a0 Add rich closure debug mode 2017-06-08 15:29:29 -07:00
Craig Tiller b3899fd18b Merge github.com:grpc/grpc into ALL-the-things 2017-06-08 07:54:10 -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
Craig Tiller 1c8a90473d Merge github.com:grpc/grpc into ALL-the-things 2017-06-07 13:00:06 -07:00
Craig Tiller dfd7a4dc0d Merge github.com:grpc/grpc into ALL-the-things 2017-06-07 12:22:41 -07:00
David Garcia Quintas 87d5a3130d Implement LB policy updates 2017-06-06 19:45:58 -07:00
ncteisen e9dea378c5 Pare down args once more 2017-06-06 17:02:38 -07:00
Craig Tiller 71005b169a Merge branch 'selectivity' into ALL-the-things 2017-06-02 14:36:41 -07:00
ncteisen 8758e1030f Clang fmt 2017-06-02 11:36:30 -07:00
ncteisen 6996f57783 Change identity 2017-06-02 10:53:43 -07:00
ncteisen 777e91d406 Redo unary trickle args sweep 2017-06-02 09:59:46 -07:00
ncteisen 3972fad38c clang format 2017-05-31 18:47:49 -07:00
ncteisen a4cd06fc21 Fixes 2017-05-26 11:06:33 -04:00
ncteisen 28b0828243 bm trickly bugfix 2017-05-26 11:06:33 -04: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
Nicolas "Pixel" Noble 7e5364781b Adding interop stress test. 2017-05-25 04:45:06 +02:00
Nicolas "Pixel" Noble d1c72ee33e Adding reconnect interop client and server. 2017-05-25 04:26:01 +02:00
Nicolas "Pixel" Noble c6dea730ca Realized that the interop BUILD file still uses cc_library and stuff. 2017-05-25 02:19:29 +02:00
Craig Tiller d8e896ecd7 Remove function 2017-05-24 15:55:43 -07:00
Nicolas "Pixel" Noble 3dedf65b0f Fixing indentation + fixing interop_client. 2017-05-24 02:29:02 +02:00
Craig Tiller 674af8f23e Merge github.com:grpc/grpc into thread_pool 2017-05-23 22:55:34 +00:00
Vijay Pai 4b07aab513 Support multiple threads per cq sharing, add tests 2017-05-23 09:20:56 -07: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
Noah Eisen e6bf7d054c Merge pull request #10930 from ncteisen/frame-size
Set Frame Size to Bytes per Microsecond
2017-05-18 17:46:33 -07:00
Nicolas "Pixel" Noble af6c83f9e1 Adding dummy layering check option. 2017-05-19 01:53:56 +02:00
Craig Tiller d3ec4aaf6f Merge github.com:grpc/grpc into thread_pool 2017-05-18 10:22:43 -07:00
Mark D. Roth d7389b418f Implement grpclb drop support. 2017-05-17 12:22:17 -07:00
Craig Tiller 38e94c2805 Fix C++ build 2017-05-17 08:08:45 -07:00
Craig Tiller a753371f05 Rework well_known_protos attr, and some other fixes 2017-05-16 13:09:33 -07:00
Yuxuan Li 8698f2bbee fix extern c location 2017-05-15 16:53:01 -07:00
Yuxuan Li 02d635bf88 remove unncessary include 2017-05-15 15:20:05 -07:00
Yuxuan Li 6ca796d7ad merge master, resolve conflict 2017-05-15 14:15:34 -07:00
Sree Kuchibhotla a6171a990e Merge pull request #10662 from sreecha/cq_mpsc_based
grpc_mpsc queue based completion queue
2017-05-15 10:06:07 -07:00
Nicolas "Pixel" Noble 3445079089 Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-12 23:58:25 +02:00
Nicolas "Pixel" Noble 0885f98863 Fixing mock test target. 2017-05-12 21:10:55 +02:00
Craig Tiller a1ae21dd2e Merge pull request #11102 from ctiller/clang5
clang5 fixes
2017-05-12 11:29:08 -07:00
Nicolas "Pixel" Noble 232e9b458b Merge branch 'master' of https://github.com/grpc/grpc into import 2017-05-12 20:15:06 +02:00
Nicolas "Pixel" Noble ba54a1c95e Merge failure, missing commas. 2017-05-12 17:13:58 +02:00
Nicolas "Pixel" Noble 88b1d82b3d Merge failure - missing grpc_cc_binary. 2017-05-12 16:58:06 +02:00
yang-g a044f6d3f5 Propagate deadline to GenericServerContext 2017-05-11 15:37:51 -07:00
Craig Tiller 5f24bb121e just use char* overload 2017-05-11 15:14:32 -07:00
Craig Tiller 0ccaff9cb6 Explicitly mention std::string 2017-05-11 14:44:23 -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
Sree Kuchibhotla 467ad2002f Merge branch 'master' into cq_mpsc_based 2017-05-11 13:15:07 -07:00
Craig Tiller 357523509a Merge pull request #11074 from ctiller/pump
Finish pumped streams: should alleviate infinite hang
2017-05-11 11:00:12 -07:00
Nicolas "Pixel" Noble f4f16798fe Fixing test_util... 2017-05-11 07:55:10 +02:00
Sree Kuchibhotla 6e510f700d Merge branch 'master' into cq_mpsc_based 2017-05-10 19:35:03 -07:00
ncteisen 4c4272923b Merge branch 'master' of https://github.com/grpc/grpc into frame-size 2017-05-10 17:50:05 -07:00
Craig Tiller a1d00facbc Finish pumped streams: should alleviate infinite hang 2017-05-10 15:43:44 -07:00
Nicolas "Pixel" Noble 78f8ce33ca The json parser comes from protobuf. 2017-05-11 00:42:55 +02:00
Nicolas "Pixel" Noble e40877931a Missed one gtest reference. 2017-05-11 00:42:32 +02:00
Craig Tiller a7785ba22e Merge github.com:grpc/grpc into uberpoll 2017-05-10 13:36:20 -07:00
Craig Tiller 5d5bbc9f8c Merge pull request #11061 from ctiller/ubsanc++
Fixes for ubsan C++ build
2017-05-10 13:35:11 -07: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
Noah Eisen 0cab13f558 Merge pull request #11033 from ncteisen/more-trickle
Add Unbalanced Unary Benchmark
2017-05-10 08:55:09 -07:00
ncteisen 1842c4379c Clang 2017-05-10 08:54:39 -07:00
Craig Tiller 7b622ab558 ubsan fix: dont deref past end of array 2017-05-10 07:58:41 -07:00
Craig Tiller 74bf087e9c Increase error threshold for too many writes 2017-05-10 07:44:04 -07:00
Nicolas "Pixel" Noble 71ca4200f6 QPS doesn't actually need gtest anymore. 2017-05-10 01:32:31 +02:00
ncteisen c7de5a7601 Add warmup 2017-05-09 15:50:32 -07:00
ncteisen 0725d3a4b3 Run bm resonable number of times 2017-05-09 12:05:11 -07:00
Nicolas "Pixel" Noble d70dbca6c0 Making test_util & co public. 2017-05-09 19:12:29 +02:00
Nicolas "Pixel" Noble 1e75dc8cad Add end2end_test_lib. 2017-05-09 06:57:22 +02:00
ncteisen b6ac9b4573 Add unbalanced unary benchmark 2017-05-08 17:10:31 -07:00
Nicolas "Pixel" Noble fec014b937 Adding metrics_server. 2017-05-09 01:11:11 +02:00
Nicolas "Pixel" Noble 1c7cdd5f23 Fixing test_util target. 2017-05-09 00:20:09 +02:00
Nicolas "Pixel" Noble 987267f633 Fixing grpc_cli_libs. 2017-05-08 23:46:22 +02:00
Yuxuan Li 57e12b1786 Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat 2017-05-08 11:36:07 -07:00
Yuxuan Li a7f7fcf94a Merge branch 'master' into poll_stat 2017-05-08 11:35:00 -07:00
ncteisen b7345a2c34 Merge branch 'master' of https://github.com/grpc/grpc into frame-size 2017-05-08 10:09:19 -07:00
Yuxuan Li 85d3a53905 change gpr_atm to int 2017-05-08 06:24:34 +00:00
Craig Tiller d868a07d7c Merge github.com:grpc/grpc into uberpoll 2017-05-07 20:02:30 -07:00
Craig Tiller c9016893f7 Merge pull request #10720 from ctiller/trickle_stall
Add logging of flow control variables, (mostly) fix flow control
2017-05-07 20:00:57 -07:00
Yuxuan Li 87827e03aa use lock instand of atomics, fix include position 2017-05-05 14:12:42 -07:00
Nicolas "Pixel" Noble 684fe378e1 Adding "grpc_cli_libs" back. 2017-05-05 21:19:19 +02:00
Vijay Pai ea4adc1508 Merge pull request #10313 from vjpai/onesided
Add QPS tests for 1-sided unconstrained streaming
2017-05-05 11:24:07 -07:00
Yuxuan Li bfb495d026 add override to GetPollCount() function 2017-05-05 10:57:35 -07:00
Craig Tiller 4fd1698307 Merge github.com:grpc/grpc into trickle_stall 2017-05-05 17:52:14 +00:00
Craig Tiller eda29c6398 Merge branch 'epex4' into uberpoll 2017-05-05 15:21:19 +00:00
Yuxuan Li a33e2b27a1 add some comments 2017-05-04 16:13:49 -07:00
Craig Tiller 62800f789c Merge github.com:grpc/grpc into timer_pool 2017-05-04 22:02:47 +00:00
Craig Tiller bc7c224cac Merge branch '0bug' into timer_pool 2017-05-04 22:02:42 +00:00
Yuxuan Li 5f9f37a33c fix minor 2017-05-04 13:39:29 -07:00
Yang Gao f31a80eac3 Merge pull request #10950 from jeady/service_name_metadata
Add static method to generated code to return fully qualified protobuf service name
2017-05-04 12:51:44 -07:00
ncteisen 1c8698758d Set frame size to B/us 2017-05-04 11:56:14 -07:00
Mark D. Roth 86b9473690 Merge pull request #10980 from markdroth/grpclb_deadline_fix
Make sure we set deadline for the LB call even without a pick.
2017-05-04 08:05:40 -07:00
Yuxuan Li f8365cd87b clean up, fix minor issue 2017-05-03 23:29:17 -07:00
Yuxuan Li 28efff3e1e clang-format 2017-05-03 22:50:56 -07:00
Yuxuan Li 5d3ddeeea1 adding server side poll stat 2017-05-03 22:27:11 -07:00
Yuxuan Li 999ac157e6 initial implementation. 2017-05-03 21:36:36 -07: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
Sree Kuchibhotla 4afb4db498 Merge branch 'master' into cq_mpsc_based 2017-05-03 09:36:02 -07:00
Noah Eisen 3f716baa0a Merge pull request #10972 from ncteisen/credential-error-refcount
Fix Error Refcount Bug
2017-05-03 08:24:51 -07:00
Craig Tiller 4d03ffbdc6 Merge github.com:grpc/grpc into timer_pool 2017-05-03 07:57:53 -07:00
Jan Tattermusch 892e4be6da Merge pull request #10234 from zhimingxie/master
fix truncate bug in grpc_cli
2017-05-03 08:36:03 +02:00
Noah Eisen 89371914c9 Fix error refcount bug
Added a missing ref in httpcli.c. Also added a test to avoid
regression
2017-05-02 23:26:05 -07:00
Craig Tiller c3571791a5 Isolate timer checking in its own thread 2017-05-02 14:36:33 -07:00
Vijay Pai eea8cf0fe3 Add QPS tests for one-sided streaming 2017-05-02 09:26:12 -07:00
Mark D. Roth 09e458c6cd Implement client-side load reporting for grpclb. 2017-05-02 08:13:26 -07:00
James Eady 3b26451025 Add static method to generated code to return fully qualified protobuf service name. 2017-05-02 10:45:34 -04:00
zhimingxie 60f35722de fix truncate bug in grpc_cli 2017-05-02 17:40:03 +08:00
David G. Quintas cf7ea0f089 Merge pull request #10360 from dgquintas/grpclb_new_test
New version of grpclb end2end test
2017-05-02 01:14:57 -07:00
Craig Tiller d4ee77e741 Merge github.com:grpc/grpc into epex4 2017-05-01 15:35:56 -07:00
Craig Tiller 0994bbd0f7 Merge github.com:grpc/grpc into trickle_stall 2017-05-01 15:11:57 -07:00
Craig Tiller c610985aeb Merge branch 'hiertune' into epex4+epoll1 2017-05-01 14:26:49 -07:00
David Garcia Quintas 0745356ab2 Apply slowdown factor to timeouts 2017-05-01 13:52:15 -07:00
David Garcia Quintas d8e278f3dc Merge branch 'master' of github.com:grpc/grpc into grpclb_new_test 2017-05-01 12:52:06 -07:00
Nicolas "Pixel" Noble c020da9634 Forgot one external dependency. 2017-05-01 21:49:46 +02:00
Craig Tiller 570fad827c Fix printf format 2017-04-29 14:56:13 -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
Ivan Vučica 38279ea2e0 Bazel rule for building grpc_cli. 2017-04-27 13:32:42 +01:00
Craig Tiller ff54f5b150 Merge github.com:grpc/grpc into trickle_stall 2017-04-26 10:38:15 -07:00
Sree Kuchibhotla ff7a587608 Merge branch 'master' into cq_mpsc_based 2017-04-25 12:10:38 -07:00
Craig Tiller f54b89c4f8 Merge github.com:grpc/grpc into epex4 2017-04-25 10:31:08 -07:00
Craig Tiller 9fd7cf5dc3 Recycle ports 2017-04-25 08:45:06 -07:00
Sree Kuchibhotla a72d79b1fc Merge branch 'master' into cq_mpsc_based 2017-04-24 19:45:20 -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 956920d84e clang-format 2017-04-24 13:09:12 -07:00
Craig Tiller 890b584ee9 Merge github.com:grpc/grpc into epex4 2017-04-24 19:33:53 +00:00
Craig Tiller f62f8d37b6 Revert "Better cost estimation"
This reverts commit 4f98e25f8b.
2017-04-24 18:38:54 +00:00
Craig Tiller 1fb0c39168 Merge github.com:grpc/grpc into epex4 2017-04-24 18:35:36 +00:00
Craig Tiller c6f6663fb7 Rollback some changes 2017-04-24 08:29:39 -07:00