Commit Graph

1373 Commits

Author SHA1 Message Date
ZhouyihaiDing c8e145bd93 add protobuf c_ext to php benchmark 2017-09-26 17:23:46 +00:00
Muxi Yan 1c285b9812 Merge remote-tracking branch 'upstream/master' into fix-stream-compression-config-interface 2017-09-25 12:38:17 -07:00
Mark D. Roth b4c01f9e29 Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix 2017-09-25 12:36:30 -07:00
Muxi Yan 92d1bc11ba generate_project 2017-09-25 11:43:06 -07:00
Shaun McCormick eec7a917ba Add Ruby server interceptors 2017-09-25 09:28:04 -05:00
apolcyn 3e0905e286 Merge pull request #12681 from apolcyn/fix_ruby_sigint_mask_in_test
Dont assume sigint wasnt masked when invoking ruby tests
2017-09-22 10:08:51 -07:00
Alexander Polcyn 2f3e588099 Dont assume that sigint wasnt masked when invoking ruby tests 2017-09-21 13:48:53 -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
apolcyn c0f427850c Merge pull request #12588 from apolcyn/shorten_ruby_unit_test_time
Reduce time taken by ruby unit test suite
2017-09-20 16:04:39 -07:00
apolcyn aafa875cb3 Merge pull request #12452 from apolcyn/google_rpc_status_in_ruby
Add ruby client utility for extracting Google::Rpc::Status from GRPC::Status
2017-09-18 22:17:38 -07:00
Alexander Polcyn a594ba0bd7 add a client side utility for extracting a google rpc
status from a grpc::Status
2017-09-18 13:58:53 -07:00
Yash Tibrewal dc1cd5437c Running generate_projects.sh 2017-09-18 10:51:22 -07:00
Alexander Polcyn 67fa513fba make sure calls created in ruby unit tests are completed timely 2017-09-14 19:47:49 -07:00
ZhouyihaiDing 1c87515f8d add php extension 2017-09-14 11:08:28 -07:00
Alexander Polcyn d24e966c1d fix memory leak of ruby call objects 2017-09-11 13:40:12 -07:00
Mark D. Roth 0aee498525 Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fix 2017-09-08 08:01:29 -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
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
Vijay Pai 58c33ba19b Decouple alarm construction from setting to avoid races in MT code 2017-09-07 11:34:13 -07:00
Jan Tattermusch 66e08cbe96 add rubocop warnings to TODO config file 2017-09-05 09:40:18 +02:00
Alexander Polcyn 010ea65be5 remove calls to optional paramaters so that the test is compatible with ruby versions < 2.1 2017-09-05 09:40:17 +02:00
Mark D. Roth 2caf021772 Change plugin credentials API to support both sync and async modes. 2017-09-01 15:04:13 -07:00
Yuchen Zeng ba23e799dc Sanity fixes 2017-08-24 23:13:09 -07:00
apolcyn f28955d40d Merge pull request #12237 from andremedeiros/fix-gc-eager-sweep
Mark error code details as global
2017-08-24 15:40:47 -07:00
Muxi Yan 7c62a35c6f Merge remote-tracking branch 'upstream/master' into stream_compression_config 2017-08-21 15:19:50 -07:00
Andre Medeiros b0eae8a08e Mark error code details as global 2017-08-21 15:50:47 -04:00
David G. Quintas 0f924b7d55 Merge pull request #12213 from dgquintas/v1.7.x-version-bump
Master version bump to 1.7.x
2017-08-17 13:10:36 -07:00
David Garcia Quintas 713597f1cd Master version bump to 1.7.x 2017-08-16 20:59:05 -07:00
John Millikin e387852303
Catch NotImplementedError exceptions and forward them to the client.
The old code only caught `StandardError`, which doesn't include
`NotImplementedError`. Despite the name, this error indicates a failure
of low-level OS interaction rather than unimplemented user code.

Any errors not caught by this section will cause the server to
terminate, which is generally undesirable because it might be happily
handling other requests.
2017-08-16 11:25:18 -07:00
Muxi Yan 229125abb1 Merge remote-tracking branch 'upstream/master' into stream_compression_config 2017-08-11 16:15:53 -07:00
apolcyn 240f35d6fb Merge pull request #10636 from apolcyn/alleviate_10526
cancel calls on ruby client bidi write loop exceptions and surface the errror
2017-08-07 13:07:09 -07:00
Alexander Polcyn c6627caf3a cancel calls with an error message when bidi write loop fails with user
error
2017-08-07 10:37:51 -07:00
Muxi Yan 69b8fe02b6 Merge branch 'master' into stream_compression_config 2017-08-02 16:57:23 -07:00
Alexander Polcyn 39088914ef fix cancellation test flake 2017-07-31 14:58:24 -07:00
apolcyn cace6a9e4f Merge pull request #11963 from apolcyn/fix_ruby_bidi_error_terminate
Improve completion of bidi calls when there is an initial error
2017-07-27 22:27:54 -07:00
Alexander Polcyn cd22f11905 properly finish bidi calls when there is an initial error 2017-07-27 17:54:59 -07:00
Muxi Yan 0603895423 Merge remote-tracking branch 'upstream/master' into stream_compression_config 2017-07-26 17:02:31 -07:00
Muxi Yan b32c23a9e7 generate_project 2017-07-26 14:49:53 -07:00
yang-g 16149ad456 regenerate projects 2017-07-25 07:45:23 -07:00
apolcyn f064af3dbf Merge pull request #11849 from apolcyn/fix_ruby_md_mem_leaks_master
Fix memory leak in sent ruby metadata
2017-07-24 14:20:46 -07:00
Alexander Polcyn 11fade7c14 Fix a ruby test flake 2017-07-21 19:22:10 -07:00
Alexander Polcyn 85cc143a7f fix memory leak with large metadata keys or values 2017-07-21 15:47:37 -07:00
apolcyn d238d84202 Merge pull request #11764 from apolcyn/fix_ruby_socket_leak
Release resources more eagerly on ruby server
2017-07-20 17:37:14 -07:00
Alexander Polcyn 7cc83e0701 add a standalone client auth test 2017-07-20 16:31:00 -07:00
Alexander Polcyn 7cc30c1155 add missing fields on server call context and improve robustness of finished calls 2017-07-19 17:31:27 -07:00
Alexander Polcyn 59a19a9d5e make sure that client-side view of calls is robust 2017-07-18 17:26:08 -07:00
Craig Tiller d996379030 Reset OWNERS state 2017-07-17 10:54:07 -07:00
apolcyn da0c0ecb1a Merge pull request #11830 from apolcyn/fix_credential_compose_leaks_master
Fix ruby memory leaks when composing credentials, noticed with asan
2017-07-17 10:21:05 -07:00
Alexander Polcyn 77349cd80a fix ruby memory leaks when composing credentials 2017-07-14 14:53:55 -07:00
apolcyn 8ffb7c1080 Merge pull request #11759 from apolcyn/ruby_cleanup
Remove a stale ruby method
2017-07-13 15:26:33 -07:00
Alexander Polcyn fb1e164cd8 dont wait for gc to destroy calls on ruby server 2017-07-13 13:51:44 -07:00
Craig Tiller e476f7d33f Strawman OWNERS --> CODEOWNERS script 2017-07-13 08:52:00 -07:00
Muxi Yan 59827dd739 generate project 2017-07-12 14:04:30 -07:00
Alexander Polcyn 600ae82d4c remove an unused method 2017-07-11 15:47:05 -07:00
Mehrdad Afshari bb3d95b643 Use https://grpc.io consistently as the canonical URL 2017-07-10 22:24:28 +00:00
Alexander Polcyn 8d69a2fea8 correct channel arg constructor calls in ruby channel creds test 2017-06-15 10:26:12 -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 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 aebcdbd732 master bumped to 1.5.x 2017-05-30 14:14:27 -07:00
murgatroid99 c18b9069cd Merge remote-tracking branch 'upstream/v1.3.x' into master_1.3.x_upmerge 2017-05-25 15:13:27 -07:00
Jan Tattermusch bbfdbb19c0 bump version to 1.3.6 2017-05-23 22:48:45 +02:00
Craig Tiller cc919832cd Fix sanity 2017-05-23 13:35:55 -07:00
Ken Payson c0ce2cdf00 Update version to 1.3.5 2017-05-19 17:47:49 -07:00
apolcyn 9b87ceab37 Merge pull request #11225 from apolcyn/bump_13x_version
Bump to version 1.3.4
2017-05-18 17:56:51 -07:00
apolcyn 2502a7d31c Merge pull request #10813 from apolcyn/fix_conn_watch_mem_accum
get rid of connectivity state watchers right after timeout
2017-05-18 16:03:58 -07:00
Alexander Polcyn c3b1f18a7e get rid of connectivity state watchers right after timeout 2017-05-18 12:09:26 -07:00
Alexander Polcyn 92eb7fbc05 Bump to version 1.3.4 2017-05-18 11:49:15 -07:00
Alexander Polcyn 82fef0bce7 tentative fix for global side effect on interrupted constructor 2017-05-18 00:17:09 -07:00
Alexander Polcyn d7455abfbd make get conn state always safe to call 2017-05-17 21:49:14 -07:00
Alexander Polcyn c24d53b0cf api watch unblock func kills only its own channel 2017-05-17 21:20:34 -07:00
apolcyn 42d858a99d Merge pull request #11054 from apolcyn/ruby_dont_use_timeouts
fixes to connectivity state api and add in constant state watches
2017-05-17 17:22:15 -07:00
Alexander Polcyn 032f398543 cleanup 2017-05-17 15:05:00 -07:00
Alexander Polcyn 7e44480614 clang format 2017-05-17 13:13:55 -07:00
Alexander Polcyn 5c6dda8639 fix tentative startup bug 2017-05-17 13:11:28 -07:00
Alexander Polcyn 916893b618 fix up the test 2017-05-17 10:05:39 -07:00
Alexander Polcyn fd4cbb7077 cleanup test 2017-05-17 09:57:25 -07:00
Alexander Polcyn 7b3629e6c2 fix lack-of-abort bug 2017-05-17 00:29:10 -07:00
Alexander Polcyn 0e2b6a2109 remove debug prints 2017-05-16 17:16:05 -07:00
Ken Payson 16f76d2092 Bump to version 1.3.3 2017-05-16 08:54:22 -07:00
Ernie Miller eef382c921
Remove unnecessary require_relative
`require-relative` breaks Rubygems' ability to use the arch-specific
directory in `extensions`. When building grpc extensions from source,
we're left with a lot of intermediate object files and a duplicate
shared object file as well. This space can be reclaimed by finding these
object files inside the `gems` subdirectory of the installation
location, while leaving the shared object file in the `extensions`
subdirectory. See the comments at
https://github.com/rubygems/rubygems/issues/926 for more on this
behavior, which has been present in Rubygems for years.

By using `require` instead, those of us who build from source can
reclaim space consumed by duplicate and intermediate files, which
amounts to a savings of 46MB (in a build of 1.3.2 on Alpine
Linux). This is helpful when trying to minimize the size of a Docker
image.

I'm unclear on whether or not the reclaiming of this space can be
automated as part of the build process. If so, it may be worth
considering as a separate effort.
2017-05-12 19:53:19 -04:00
Stanley Cheung 448a11d616 Bump to version 1.3.2 2017-05-10 15:23:29 -07:00
Alexander Polcyn b2c0b7bc74 constant state watch without timeouts 2017-05-09 22:52:32 -07:00
Stanley Cheung 0afa9abb79 Bump to 1.3.2-pre1 2017-05-09 19:08:26 -07:00
murgatroid99 572cd7e5a4 Update version to 1.3.1 2017-05-04 10:02:44 -07:00
Craig Tiller 4865c79548 Merge pull request #10613 from ctiller/framing_costs
Optimize framing a little
2017-04-27 14:53:12 -07:00
David Garcia Quintas 606945af76 1.3.0 -> 1.3.1-pre1 2017-04-27 14:26:52 -07:00
David Garcia Quintas 3ef2355eae s/1.3.0-pre/1.3.0 2017-04-27 13:59:19 -07:00
Alexander Polcyn f5521c33f9 Revert "Merge branch 'master' into v1.3.x"
This reverts commit 79759fea1a, reversing
changes made to dc36f4df6a.
2017-04-26 14:18:39 -07:00
Craig Tiller bb4046cd77 Regenerate projects 2017-04-26 08:56:30 -07:00
Craig Tiller 6f2024f4ec Merge github.com:grpc/grpc into c++lame 2017-04-24 13:33:06 -07:00
Craig Tiller decec09316 Merge github.com:grpc/grpc into c++lame 2017-04-21 08:08:05 -07:00
Craig Tiller d5ad177a4c Merge github.com:grpc/grpc into framing_costs 2017-04-20 13:01:57 -07:00
Craig Tiller 59db187c85 Merge branch 'tsan-c++' into hybrid 2017-04-20 19:24:57 +00:00
Craig Tiller a4894fcd02 Merge pull request #10182 from ctiller/cpparena
[EXPERIMENTAL] allocate unary response writer against call arena
2017-04-20 10:32:20 -07:00
murgatroid99 ce67bff2df Merge remote-tracking branch 'upstream/v1.3.x' into upmerge_v1.3.x 2017-04-19 15:54:27 -07:00
Craig Tiller 6984e1dc5e Merge github.com:grpc/grpc into c++lame 2017-04-19 14:50:31 -07:00
Craig Tiller 06a30eef36 Merge github.com:grpc/grpc into cpparena 2017-04-19 14:40:20 -07:00
Craig Tiller 5b1c5f22f4 Extend clang-format to C#, Node, Ruby 2017-04-19 09:52:18 -07:00
Craig Tiller cac4e178fd Merge github.com:grpc/grpc into cpparena 2017-04-18 13:39:18 -07:00
Craig Tiller a12c0657ef Merge github.com:grpc/grpc into hybrid 2017-04-18 13:23:44 -07:00
Craig Tiller addb6ea986 Merge github.com:grpc/grpc into c++lame 2017-04-17 12:19:09 -07:00
Alexander Polcyn deeed7f12b don't hold the gil while waiting for bg thread to start 2017-04-17 10:46:55 -07:00
Craig Tiller c39fbcf9ba Merge github.com:grpc/grpc into framing_costs 2017-04-17 08:20:25 -07:00
Alexander Polcyn d1143abaa8 tweak class init test to reveal bug in misordered startup 2017-04-16 10:27:09 -07:00
Alexander Polcyn c7fcebe750 fix bug in which gc of channel sleeps on cv before bg thread signaling has started 2017-04-15 16:37:44 -07:00
David Garcia Quintas a818f72c0c Load Reporting back to using metadata 2017-04-15 11:25:48 -07:00
Alexander Polcyn 4736e01c16 add native grpc class init tests to check that presence of grpc_init calls 2017-04-14 17:58:14 -07:00
Alexander Polcyn 792c7e3d27 add new test where client forks after require grpc, to test that lib startup 2017-04-14 16:29:04 -07:00
Alexander Polcyn 2a9b5d77ed defer grpc_init and background threads until first grpc object init 2017-04-14 15:19:00 -07:00
Craig Tiller 56c23f11b0 Merge github.com:grpc/grpc into c++lame 2017-04-14 15:18:20 -07:00
Craig Tiller c3666d7090 Merge github.com:grpc/grpc into hybrid 2017-04-14 13:15:56 -07:00
Craig Tiller 2c6f63731c Merge github.com:grpc/grpc into cpparena 2017-04-14 13:14:10 -07:00
Sree Kuchibhotla 0e5fa9ebcd Merge branch 'master' into cq_create_api_changes 2017-04-13 18:36:23 -07:00
David Garcia Quintas 9e1acc0796 master to 1.4.0-dev 2017-04-13 16:30:15 -07:00
David Garcia Quintas d9986c3cf7 1.3.x branch cut 2017-04-13 16:20:56 -07:00
Craig Tiller dea325b6e4 Merge branch 'hybrid' of github.com:ctiller/grpc into hybrid 2017-04-12 14:02:19 -07:00
Craig Tiller b3612d3cd4 Remove API 2017-04-12 14:02:13 -07:00
Sree Kuchibhotla 2bb075d8e0 Merge branch 'master' into cq_create_api_changes 2017-04-12 13:53:59 -07:00
Craig Tiller 75897a9901 Merge branch 'c++lame' of github.com:ctiller/grpc into c++lame 2017-04-12 06:46:48 -07:00
Craig Tiller c20fa90c60 Merge github.com:grpc/grpc into cpparena 2017-04-12 06:44:00 -07:00
Craig Tiller 2e018891be Merge github.com:grpc/grpc into hybrid 2017-04-11 17:56:25 -07:00
Alexander Polcyn 9b02001949 get rid of racey sleep 5 and use a cv to wait forever 2017-04-11 10:14:13 -07:00
Alexander Polcyn d6dd46a1d9 fix flakey race in ruby tests 2017-04-10 16:47:03 -07:00
Craig Tiller 9f3822c4a8 patch ruby stuff 2017-04-10 15:07:22 -07:00
Craig Tiller f85aabf659 Make ruby build debuggable 2017-04-10 14:06:15 -07:00
Sree Kuchibhotla 7b9f97bfb8 Merge branch 'master' into cq_create_api_changes 2017-04-07 13:44:34 -07:00
Jan Tattermusch 61f729fe1a Merge remote-tracking branch 'upstream/v1.2.x' into upmerge_v12x 2017-04-06 17:11:44 +02:00
Jan Tattermusch 0be726b34d bump version to 1.2.2 2017-04-03 20:04:34 +02:00
Craig Tiller d35bb9ec62 Fix sanity 2017-03-31 12:56:15 -07:00
Craig Tiller dd36b15315 Call ref/unref, bugfixes 2017-03-31 08:27:28 -07:00
Craig Tiller 547631eaf8 Merge github.com:grpc/grpc into cpparena 2017-03-31 07:50:01 -07:00
Ken Payson 484871bb03 Bump version to 1.2.1 2017-03-28 18:00:33 -07:00
apolcyn 486f8d9ee8 Merge pull request #10308 from apolcyn/bump_v12x_version
bump v1.2.x branch version to 1.2.1-pre2
2017-03-27 09:13:06 -07:00
Sree Kuchibhotla 79441baed9 Merge branch 'master' into cq_create_api_changes 2017-03-24 15:01:23 -07:00
Yuchen Zeng f466ae116e Merge pull request #7771 from y-zeng/cares_buildin
Async DNS resolver with pre-configured c-ares
2017-03-24 14:52:04 -07:00
Sree Kuchibhotla b6512cf940 Merge pull request #10245 from sreecha/cq_factory_api
Introduce grpc_completion_queue_factory API
2017-03-24 13:23:44 -07:00
Alexander Polcyn 69c2717c80 bump v1.2.x branch version to 1.2.1-pre2 2017-03-24 11:39:52 -07:00
Sree Kuchibhotla 944a56fa84 Merge branch 'master' into cq_create_api_changes 2017-03-24 10:55:39 -07:00
Alexander Polcyn 4364ded9b1 wording fix in comments 2017-03-24 10:41:37 -07:00
Alexander Polcyn 8d8dce8db3 malloc run_batch_stack after type checks 2017-03-24 10:32:15 -07:00
Alexander Polcyn 077f890965 conform test to formatter 2017-03-24 09:53:40 -07:00
Alexander Polcyn 34bb6df108 allocated run batch stack on the heap 2017-03-23 22:18:02 -07:00
Alexander Polcyn 27338de445 add test in that sends a sigint to client while its making an rpc ona
child thread - segfaults on mac
2017-03-23 22:11:58 -07:00
Nicolas "Pixel" Noble e44a50ffd7 Merge branch 'v1.2.x' of https://github.com/grpc/grpc into upmerge-1.2.0 2017-03-24 00:54:47 +01:00
Alexander Polcyn 604abf4fa5 add generated imports header to be able to build on mingw 2017-03-23 11:32:36 -07:00
apolcyn 1a0cc16dc7 Merge pull request #10230 from apolcyn/bump_to_1_2_1_pre1
bump v1.2.x branch to 1.2.1-pre1
2017-03-23 10:37:44 -07:00
apolcyn b0f3f55f8f Merge pull request #9986 from apolcyn/fix_connectivity
ruby add background channel state poller to handle disconnected transports
2017-03-23 10:12:57 -07:00
Alexander Polcyn 02d131b5ef fix mac crash on abruptly ended server thread 2017-03-22 15:12:32 -07:00
Sree Kuchibhotla 8d8bb7a515 Ruby changes 2017-03-22 12:37:29 -07:00
Alexander Polcyn 513070cf20 get rid of time check increment in watch connectivity state loop 2017-03-22 10:27:31 -07:00
Sree Kuchibhotla def3354c9a Fix test bug and generate_projects.sh 2017-03-22 03:07:01 -07:00
Alexander Polcyn 06d4edd283 fix setting of time_check_increment in watch conn state loop 2017-03-21 19:24:07 -07:00
Alexander Polcyn 5b881460d2 make fewer lock/unlock calls and loop on cv_wait in watch conn state 2017-03-21 18:38:26 -07:00
Sree Kuchibhotla 5ea3bbd418 Merge branch 'cq_factory_api' into cq_create_api_changes_with_factory 2017-03-21 17:18:41 -07:00
Sree Kuchibhotla bf18428740 Introduce grpc_completion_queue_factory API
Just the API and a bare-bone implementation
2017-03-21 15:18:58 -07:00
Sree Kuchibhotla 36c370793b Merge branch 'master' into cq_create_api_changes 2017-03-21 10:28:40 -07:00
Alexander Polcyn ea282e9c4c add passing test that kills a process while there are active watch chan state calls 2017-03-20 21:07:20 -07:00
Alexander Polcyn 3e30832cca bump v1.2.x branch to 1.2.1-pre1 2017-03-20 17:00:45 -07:00
David Garcia Quintas 69e5a28635 Going for 1.2.0 2017-03-20 12:51:17 -07:00
Alexander Polcyn 4e606751db add end2end tests to formatter and adjust to formatter 2017-03-20 00:07:25 -07:00
Alexander Polcyn b862b6ae20 use RTEST with channel watch arg to capture larger set of truthy args 2017-03-19 23:36:21 -07:00
Vijay Pai c0e6701c57 Added dependencies in build.yaml to allow building 2017-03-17 20:00:55 -07:00
Yuchen Zeng 9bc0d8200e Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 16:00:17 -07:00
Yuchen Zeng 2c977084c8 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-03-17 15:57:23 -07:00
Ken Payson 12ca7d319c Bump 1.2.x version to pre-2 2017-03-16 11:01:06 -07:00
Alexander Polcyn 071f74f6f1 add copyright header to fix failing sanity tests 2017-03-15 17:32:40 -07:00
Alexander Polcyn af3213f38b remove now-unused channel completion queues 2017-03-15 16:44:52 -07:00
Alexander Polcyn 4109c23734 add a README for new test directory 2017-03-15 16:07:03 -07:00
Alexander Polcyn 563ec5324f stop mixing gpr mutexes and the ruby gil to fix channel closing deadlock 2017-03-15 15:54:49 -07:00
Alexander Polcyn 70bc4921e1 add another currently failing test related to channels and deadlock 2017-03-15 14:00:46 -07:00
Alexander Polcyn f3147b3a7c watch channel state without the gil to fix deadlock on abrupt SIGTERM 2017-03-15 12:14:13 -07:00
Alexander Polcyn 16d97edf56 add failing test revealing bug in channel state api 2017-03-15 10:02:20 -07:00
Alexander Polcyn f8dc32e9e2 make end2end test ports dynamic and slight refactor 2017-03-15 01:48:11 -07:00
Alexander Polcyn c44c16e330 add initial framework for full end2end tests outside of rspec 2017-03-14 23:30:39 -07:00
Alexander Polcyn be30114a3b fix up tests and remove two unlocks in a row bug 2017-03-14 17:15:51 -07:00
Alexander Polcyn fcad5799b4 in the middle of fixing watch and get connectivity state to work with new changes 2017-03-14 12:26:17 -07:00
Alexander Polcyn 427ec5e433 change if to while to avoid unsafe wakeup 2017-03-13 17:57:47 -07:00
Alexander Polcyn 69719089da remove a TODO 2017-03-13 12:00:42 -07:00
Vijay Pai a20050327b Merge pull request #10012 from vjpai/phpqps
PHP benchmarking performance client, proxied through Ruby
2017-03-13 02:16:43 -07:00
Alexander Polcyn 9f4986603c add in background connectivity state poller 2017-03-10 15:28:56 -08:00
Alexander Polcyn e57cd90c11 fix channel connectivity state function 2017-03-10 15:28:56 -08:00
David G. Quintas 169c553e0d Merge pull request #10078 from dgquintas/master_to_1.3.0
Bumped version to 1.3.0-dev
2017-03-10 14:09:27 -08:00
Vijay Pai 958ded975f PHP benchmarking performance client, proxied through Ruby
Requires synchronous and single-threaded, so only 1 channel and 1 outstanding RPC
per channel for now. No open-loop for now
2017-03-10 10:51:05 -08:00
David Garcia Quintas 904e7f53ae Introducing 1.2.0-pre1 2017-03-09 15:02:19 -08:00
David Garcia Quintas 74cec10619 Bumped version to 1.3.0-dev 2017-03-09 15:00:26 -08:00
ncteisen b3eee5c8c7 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-09 11:16:25 -08:00
Sree Kuchibhotla 36108cce7d Merge branch 'master' into cq_create_api_changes 2017-03-08 10:40:38 -08:00
David Garcia Quintas 78fd7db29f Merge remote-tracking branch 'upstream/v1.1.x' into 1.1.x_to_master_again 2017-03-06 15:58:03 -08:00
Sree Kuchibhotla 98ab52003a Ruby: Completion queue creation API changes 2017-03-03 18:28:47 -08:00
J. Martin 18e8b147e6
Limit the gem native build resources
When building the native extension make -j can absorb all available
resources on a system.  Implement "reasonable" limits on the number
of compiling jobs when the number of processors can be detected and
use a conservative count when ruby version does not provide detection.
2017-03-02 15:19:16 -06:00
Sree Kuchibhotla 0393d5d0a6 generate_projects.sh 2017-03-02 13:03:30 -08:00
Muxi Yan 5c2d7e287b Boost grpc version to v1.1.4 2017-03-01 15:31:31 -08:00
ncteisen 2316b80875 Merge branch 'master' of https://github.com/grpc/grpc into to-grpc-err-is-human 2017-03-01 11:52:32 -08:00
Craig Tiller 3d72d71c7c Merge github.com:grpc/grpc into zalloc 2017-02-24 15:30:51 -08:00
Michael Lumish 63852c933b Merge pull request #9694 from nicolasnoble/upmerge_from_1_1_x
Upmerge from 1.1.x
2017-02-23 14:39:37 -08:00
Ken Payson fd6cc7de7b Bump version to v1.1.3 2017-02-23 14:25:40 -08:00
ncteisen 3da3ce3c29 Add error test 2017-02-23 11:23:15 -08:00
Craig Tiller 266f66a67c Merge github.com:grpc/grpc into zalloc 2017-02-23 09:50:27 -08:00
Myungjun Kim f17d163a9b Fix typos
unkown -> unknown
fix unnecessary spacing
2017-02-23 01:55:44 +09:00
apolcyn e96b6a2477 Merge pull request #9723 from vyper/patch-1
Fix class name on documentation
2017-02-21 10:08:26 -08:00
Craig Tiller ff71449049 Fix generated code 2017-02-17 09:02:18 -08:00
Leonardo Saraiva 87b10b652f Fix class name on documentation 2017-02-15 14:50:05 -02:00
David Garcia Quintas f31f096274 Use call context to propagare LR costs 2017-02-13 16:26:00 -08:00
Nicolas "Pixel" Noble e00d63f3ea Merge remote-tracking branch 'google/v1.1.x' 2017-02-13 23:37:17 +01:00
murgatroid99 2b3e12ceee Update version to 1.1.2 2017-02-06 17:42:07 -08:00
apolcyn 7c54d2929c Merge pull request #9553 from apolcyn/fix_ruby_mac_build
ruby bundle install work around to build packages on mac
2017-02-03 11:30:07 -08:00
Alexander Polcyn 6af442750a remove -Werror compiler option in ruby Makefile to build on mac in opt configuration 2017-02-02 16:47:44 -08:00
Yuchen Zeng 86d2115553 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-02-01 16:12:08 -08:00
murgatroid99 e15b5a42af Bump version to 1.1.1 2017-01-31 16:23:54 -08:00
Yuchen Zeng 92edda5129 Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-31 15:59:19 -08:00
Craig Tiller 5cad46e218 Bump master version numbers 2017-01-30 15:32:24 -08:00
Nicolas "Pixel" Noble 4dcb7862bf Flagging version 1.1.0. 2017-01-30 23:28:06 +01:00
Mark D. Roth e6dd773dff Move parameters for all grpc_op types into their own sub-structs. 2017-01-28 02:23:30 +01:00
Craig Tiller afceb2edbd Merge github.com:grpc/grpc into rollfwd 2017-01-26 12:21:28 -08:00
Yuchen Zeng bc8a70445d Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-25 16:10:18 -08:00
Mark D. Roth 448c1f002c Move parameters for all grpc_op types into their own sub-structs. 2017-01-25 10:44:30 -08:00
Craig Tiller 0f2e2e4a42 Merge github.com:grpc/grpc into rollfwd 2017-01-24 10:53:20 -08:00
Yuchen Zeng e38698e5bd Merge remote-tracking branch 'upstream/master' into cares_bazel_rule 2017-01-23 17:19:53 -08:00
Craig Tiller 1a56a930cb Fixup 2017-01-23 14:55:15 -08:00
Craig Tiller a53c193aa5 Merge github.com:grpc/grpc into faster_slices 2017-01-23 14:54:31 -08:00
Nicolas "Pixel" Noble da83b376eb Changing versions from -dev to -pre1 on the release branch. 2017-01-23 23:52:35 +01:00
David G. Quintas f2c5c1e541 Merge pull request #9428 from grpc/revert-8842-metadata_filter
Revert "Metadata handling rewrite"
2017-01-23 12:08:46 -08:00
Nathaniel Manista 9ff26dc693 v1.0.x → master upmerge
Manual resolution:

- Force use of local distributions in Python-building in
  tools/run_tests/helper_scripts/build_python.sh.
2017-01-23 17:32:15 +00:00
Craig Tiller 7c70b6c144 Revert "Revert "Metadata handling rewrite""
This reverts commit 5e01e2ac97.
2017-01-23 07:48:42 -08:00
Craig Tiller 5e01e2ac97 Revert "Metadata handling rewrite" 2017-01-20 18:11:52 -08:00
Craig Tiller 0cf6a71b72 Fix comments, merge head, regen project 2017-01-20 14:07:05 -08:00
Yuchen Zeng 04ec4701e3 Merge remote-tracking branch 'upstream/master' into cares_buildin 2017-01-18 18:49:07 -08:00
apolcyn 0dcd709c4a Merge pull request #8304 from apolcyn/fix_ruby_tools_32_bit_windows
make ruby tools use x86 directory names for sub-x86 cpu
2017-01-13 15:08:38 -08:00
Alexander Polcyn 4d08937206 update grpc-tools.gemspec after with os_check -> plactform_check.rb 2017-01-13 10:00:50 -08:00
Alexander Polcyn aaddb5cb93 continue use of host_cpu and use x86 whenever not x86_64 2017-01-13 09:42:12 -08:00
Craig Tiller a47f51ff4b Merge github.com:grpc/grpc into metadata_filter 2017-01-11 14:16:00 -08:00
ncteisen 8f3f2f4bd8 Fix ruby:{python,csharp,csharpcoreclr}_server behavior 2017-01-10 15:39:51 -08:00
Craig Tiller 61393ad19f Merge github.com:grpc/grpc into metadata_filter 2017-01-10 08:47:23 -08:00
ncteisen 9dc0ca0a70 Merge branch 'master' of https://github.com/grpc/grpc into ruby_advanced_interop_client_side 2017-01-09 15:14:24 -08:00
ncteisen 56610d4706 Address github comments 2017-01-09 13:28:25 -08:00
Craig Tiller 78e4bf629c Merge github.com:grpc/grpc into metadata_filter 2017-01-05 13:14:23 -08:00
ncteisen 46b716d521 Merge branch 'master' of https://github.com/grpc/grpc into ruby_advanced_interop_server_side 2017-01-05 07:58:12 -08:00
ncteisen db8a3c28dd Merge branch 'master' of https://github.com/grpc/grpc into ruby_advanced_interop_client_side 2017-01-04 14:00:45 -08:00
Craig Tiller 19cc2db3bc Merge branch 'slice_with_exec_ctx' into metadata_filter 2017-01-04 12:54:34 -08:00
apolcyn 38642fa924 Merge pull request #9183 from apolcyn/attach_trailing_md_ruby_bidi
attach trailing metadata to ruby bidi call op when it's received
2017-01-04 12:52:39 -08:00
apolcyn 3adfa82dc4 Merge pull request #9191 from apolcyn/fix_ruby_default_handler
change ruby default unimplemented ruby server handler to have two aguments
2017-01-04 12:51:11 -08:00
apolcyn d611160f07 Merge pull request #9018 from apolcyn/fix_ruby_pool_flake
remove test of exception on ruby thread pool overload
2017-01-04 12:48:43 -08:00
Craig Tiller ef6938477b Merge branch 'slice_with_exec_ctx' into metadata_filter 2016-12-27 08:59:00 -08:00
Yuan He 9383d2b809
Ruby: show error class and message instead of unknown 2016-12-22 16:01:22 +08:00
Alexander Polcyn 2ec43d2dac change ruby default unimplemented ruby server handler to have two arguments 2016-12-21 16:26:02 -08:00
ncteisen 2e3972ae54 Add advanced interop test behavior for Ruby server side 2016-12-21 15:43:21 -08:00
Noah Eisen ef4ceda6fd Add advanced interop tests for Ruby client 2016-12-21 13:57:30 -08:00
Alexander Polcyn eb69c34f83 attach trailing metadata to ruby bidi call op when it's received 2016-12-20 16:32:50 -08:00
Nathaniel Manista 8f7b0b48bf v1.0.x → master upmerge
Manual changes:

 - Fixed use of Exception.message in _invalid_metadata_test.py

 - Fixed merge of one_failed_as_unavailable in rpc_server_spec.rb

 - Added "set -e" to generate_build_additions.sh
2016-12-16 23:48:52 +00:00
apolcyn 32b2ecc55a Merge pull request #8879 from apolcyn/ruby_subclass_badstatus
add ruby subclasses of bad status for each GPRC status code
2016-12-14 17:09:09 -08:00
Craig Tiller 3977aa1efa Merge pull request #41 from apolcyn/ruby_char_ptr_to_slice
update ruby char* to slice
2016-12-13 02:58:35 -08:00
Alexander Polcyn 70f4d26e0f convert char* to grpc_slice in ruby 2016-12-12 22:40:48 -08:00
murgatroid99 a053f23b1d Make Node extension work with slice changes 2016-12-12 17:40:22 -08:00
igorpeshansky e51e72d7c9 Use snake_case names for default rpc method implementations
This is what `GRPC::Pool::add_rpc_descs_for` expects.
2016-12-09 11:00:28 -05:00
Alexander Polcyn fa5e31c6e8 remove ruby thread pool unit test of exception on overload 2016-12-08 18:12:25 -08:00
Craig Tiller 385dd9a462 Merge branch 'slice_interning' into metadata_filter 2016-12-06 20:27:38 -08:00
apolcyn c1e03dbfaf Merge pull request #8914 from apolcyn/update_ruby_protobuf_to_310
Update ruby protobuf to 310
2016-12-05 21:05:25 -08:00
apolcyn 93904c0dc8 Merge pull request #8843 from apolcyn/fix_ruby_shutdown
Fix ruby shutdown
2016-12-05 13:52:47 -08:00
Alex Polcyn a868c0424e keep old behavior to not destroy ruby server if not instantiated 2016-12-05 18:49:08 +00:00
Yuchen Zeng b0023d25dc Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-30 15:51:25 -08:00
Alexander Polcyn d2537c1aa9 turn on Thread.abort_on_exception in ruby unit tests by default 2016-11-30 15:21:57 -08:00
Alex Polcyn 16db6e1c04 destroy byte buffer reader after use in ruby recv msg 2016-11-30 13:59:59 -08:00
Craig Tiller 36b3135929 Merge branch 'slice_interning' into metadata_filter 2016-11-30 13:41:53 -08:00
Craig Tiller 369ddc524a Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-30 13:32:18 -08:00
Alexander Polcyn 174aa915ba change client code to use specific exceptions and throw bad status if
unkown code
2016-11-30 10:01:39 -08:00
Alexander Polcyn acacd0d646 add factory method to bad status to create correct subclass 2016-11-29 23:42:27 -08:00
Alexander Polcyn 6002b8ff63 add ruby subclasses of bad status for each GPRC status code 2016-11-28 17:41:13 -08:00
Alexander Polcyn 7f8a628f6a fix race between app and GC on ruby server shutdown 2016-11-23 10:36:08 -08:00
Alexander Polcyn 3d48cf4ed3 dont break out of response stream iterator in benchmark client 2016-11-23 09:50:22 -08:00
Alexander Polcyn cdd4203042 use thread pool from v1.0.x but keep server call life cycle in master 2016-11-23 10:33:56 +01:00
Alexander Polcyn 03fc19876d wait for write loop to finish at end of ruby read loop, on client side calls 2016-11-22 14:24:49 -08:00
Jan Tattermusch 8613e474cb Merge remote-tracking branch 'upstream/v1.0.x' into HEAD 2016-11-22 11:15:53 +01:00
Craig Tiller 480e1d8d9f Merge github.com:grpc/grpc into eliminate_mdstr 2016-11-18 17:14:49 -08:00
David Garcia Quintas 1a84f99caa regenerated projects 2016-11-18 13:05:44 -08:00
Craig Tiller 7d4116fa44 All core tests compile without grpc_mdstr 2016-11-17 12:16:05 -08:00
Craig Tiller 66b14c125e Merge branch 'slice_interning' into eliminate_mdstr 2016-11-16 16:05:01 -08:00
Craig Tiller 1094c32f35 Merge branch 'slice_with_exec_ctx' into slice_interning 2016-11-16 15:54:03 -08:00
Craig Tiller c586666cbd Merge github.com:grpc/grpc into slice_with_exec_ctx 2016-11-16 15:25:00 -08:00
Yuchen Zeng b1f6bf2ec4 Merge pull request #8086 from y-zeng/fix_gprc
Fix misspelled gprc
2016-11-11 15:11:44 -08:00
Craig Tiller 5ef31ab9c9 Progress towards mdstr elimination 2016-11-10 16:27:48 -08:00
Craig Tiller 64b26567ad First pass of slice interning facilities 2016-11-10 08:31:42 -08:00
Yuchen Zeng bd363544fd Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-11-08 10:56:16 -08:00
Mark D. Roth 0ace62f832 Merge pull request #8618 from markdroth/channel_info_api
Add API for getting arbitrary state back from a channel
2016-11-08 10:45:21 -08:00
Mark D. Roth 8e2d8d9eda Ran generate_projects.sh. 2016-11-04 12:55:07 -07:00
Alexander Polcyn a713b76d57 change per job sleep of 5 seconds back to 3 in unit test 2016-11-04 11:41:18 -07:00
Alexander Polcyn 20457a1f09 clean up pool unit tests 2016-11-04 11:13:32 -07:00
Craig Tiller 32df467f11 Merge github.com:grpc/grpc into grpc_slice 2016-11-04 08:21:56 -07:00
Alexander Polcyn 269e6ccb4d remove wait queue from ruby thread pool to avoid deadlock 2016-11-03 16:06:54 -07:00
Vijay Pai c21e94cea1 Avoid compiler error 2016-11-02 01:08:38 -07:00
Craig Tiller 41fd9f2343 Merge github.com:grpc/grpc into grpc_slice 2016-10-31 14:42:53 -07:00
Yuchen Zeng c76e9d3062 Merge remote-tracking branch 'upstream/master' into cares_buildin 2016-10-28 15:41:58 -07:00
apolcyn 086e28d5f5 Merge pull request #8539 from apolcyn/fix_ruby_bm_crashes_master
increase max thread pool size in benchmarks and fix shutdown ordering
2016-10-28 14:51:51 -07:00
Michael Lumish 15b04e41f1 Merge pull request #8559 from murgatroid99/v1.0.1_upmerge
V1.0.1 upmerge
2016-10-28 14:22:09 -07:00
murgatroid99 5d6ae930ab Merge remote-tracking branch 'upstream/v1.0.x' into v1.0.1_upmerge 2016-10-28 11:48:22 -07:00
Alexander Polcyn 287b760e97 revert change to shutdown ordering, but keep timer 2016-10-27 19:15:14 -07:00
Alex Polcyn 419934af6f increase max thread pool size in benchmarks and fix shutdown ordering 2016-10-27 17:44:32 +00:00
Craig Tiller 618e67d655 s/GPR_SLICE/GRPC_SLICE/g 2016-10-26 21:08:10 -07:00
Craig Tiller 6e080a3651 Merge branch 'buffer_pools_for_realsies' into grpc_slice 2016-10-26 21:00:53 -07:00
Craig Tiller 3d357d901c Merge github.com:grpc/grpc into buffer_pools_for_realsies 2016-10-26 20:52:03 -07:00