Commit Graph

734 Commits

Author SHA1 Message Date
Esun Kim 90fbdc92f5 Roll-forward "Config migration"
This reverts commit 236ae12bb1.
2019-05-20 15:47:24 -07:00
Alexander Polcyn 236ae12bb1 Revert "Config migration"
This reverts commit 87905ae5ea.
2019-05-14 14:36:33 -07:00
Esun Kim 87905ae5ea Config migration 2019-05-09 12:29:38 -07:00
Alexander Polcyn 2a4d62819b Revise c-ares timeouts to use c-ares's internal timeout/retry logic 2019-05-08 09:57:39 -07:00
Vijay Pai ec06d677e2
Merge pull request #16681 from arrowd/master
Fix various tests on FreeBSD.
2019-04-10 14:16:36 -07:00
Bill Feng d93959853f Enabled Windows Bazel build for cpp tests 2019-03-21 18:00:48 -07:00
Prashant Jaikumar f6479caf2a Fix CFStreamTests
- Pass extra param to grpc_endpoint_read() as the API has changed.
- Fixed build error seen with Xcode 10.
- Enable pipefail to xcodebuild errors are propagated to the caller.
2019-03-18 10:47:41 -07:00
Jan Tattermusch cf6a311761
Revert "Windows builds for gRPC C++ tests" 2019-03-15 17:15:20 +01:00
Bill Feng d61f690a33
Merge pull request #18285 from billfeng327/update-deps-version
Windows local Bazel build for gRPC C++ tests
2019-03-08 14:17:36 -08:00
Soheil Hassas Yeganeh 0031393a17
Merge pull request #18240 from soheilhy/tcp-inq
Implement TCP_INQ for gRPC in Linux
2019-03-08 11:29:39 -05:00
billfeng327 4241edeaa4 renamed tag to no_windows in conformation with Bazel and TensorFlow 2019-03-07 14:52:49 -08:00
Yash Tibrewal abcd5861eb Nuking the poll-cv polling engine 2019-03-07 14:49:24 -08:00
Soheil Hassas Yeganeh 18b19105f2 Implement TCP_INQ for gRPC in Linux
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.

Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.

This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:

  Before:
    l_50: 61.3584984733
    l_90: 94.8328711277
    l_99: 126.211351174
    l_999: 158.722406029

  After:
    l_50: 51.3546011488 (-16%)
    l_90: 72.3420731581 (-23%)
    l_99: 103.280218974 (-18%)
    l_999: 130.905689996 (-17%)
2019-03-06 22:15:53 -05:00
billfeng327 928aedf5c8 Merge branch 'master' into update-deps-version 2019-03-06 15:48:29 -08:00
billfeng327 ab06853fc9 C++ Windows test builds 2019-03-06 15:47:49 -08:00
yang-g 456f748b2f Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
This reverts commit 9079e98dfc, reversing
changes made to 76a38bfcc2.
2019-02-25 10:11:06 -08:00
Yang Gao 4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread" 2019-02-22 16:34:24 -08:00
yang-g 520dc0461c fix resolve_address_test 2019-02-13 06:38:16 -08:00
Yash Tibrewal 30d8f7a626 Memset before setting length 2019-02-08 17:14:45 -08:00
Vijay Pai b23abe832c GPR_ARRAY_SIZE is meant for arrays 2019-02-04 11:40:53 -08:00
Muxi Yan 8e085233ed Fix CFStream test 2019-01-30 09:18:28 -08:00
Yash Tibrewal f0ccb92da3
Merge pull request #17821 from yashykt/iostests
Extra argument for grpc_endpoint_write
2019-01-28 12:28:28 -08:00
Yash Tibrewal dd5ead2ac1 Extra argument for grpc_endpoint_write 2019-01-25 18:41:06 -08:00
apolcyn b46d873db9
Merge pull request #17790 from apolcyn/fix_sorting_bypass
Fix windows localhost address sorting bug
2019-01-23 17:06:53 -08:00
Alexander Polcyn da9237a9c5 Fix windows localhost address sorting bypass 2019-01-23 11:18:50 -08:00
Yash Tibrewal ca90fd501d
Merge pull request #17757 from yashykt/optstats
Collect OPT_STATS along with tx timestamps
2019-01-21 19:22:08 -08:00
Yash Tibrewal dc85d5b556 Allocate tcp_info on the heap to avoid stack frame limits 2019-01-18 15:24:42 -08:00
Yash Tibrewal 9df6023dca Move Optional to gprpp, and reviewer comments 2019-01-18 14:48:12 -08:00
Vijay Pai 44402ad0a1 Make executor look more like the rest of the codebase (namespace, etc) 2019-01-18 13:52:59 -08:00
Yash Tibrewal 862faf55ba Use getsockopt to get the tcp_info struct with sendmsg timestamp 2019-01-17 20:50:21 -08:00
Yash Tibrewal 1ec65a2c9b Fix tests 2019-01-17 18:57:51 -08:00
Yash Tibrewal 23061cdfc2 Collect OPT_STATS along with tx timestamps 2019-01-17 17:48:30 -08:00
Jan Tattermusch cc0449465f
Merge pull request #17666 from jtattermusch/reenable_tcp_server_posix_test2
Reenable tcp server posix test after applying workaround
2019-01-09 10:46:27 +01:00
Jan Tattermusch 7850704d64 reenable tcp_server_posix_test on Foundry 2019-01-08 21:14:00 +01:00
Jan Tattermusch 1287cd34ea make tcp_server_posix_test pass on foundry 2019-01-08 21:10:34 +01:00
Alexander Polcyn 00763bc3ea Support named scope id's with ipv6 resolver on posix 2018-12-26 11:03:43 -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
Alexander Polcyn 7dc330f298 Disable SRV and TXT lookups for localhost 2018-12-12 13:20:51 -08:00
yang-g 67742ef63f Fix BUILD files. Manually edit bzl files 2018-12-06 14:37:52 -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
Bill Feng 5810b53df3 merge conflict fix 2018-11-26 10:15:47 -08:00
Yash Tibrewal fc332d2c92 Merge master 2018-11-16 11:11:04 -08:00
Bill Feng 9759a1b241 removed accidental submodule update 2018-11-07 15:21:04 -08:00
Yash Tibrewal 07504e66f3 Don't unnecessarily create exec_ctx 2018-10-25 12:30:46 -07:00
Jan Tattermusch d94b49a1df unify fallthrough comment in switch statements 2018-10-10 13:45:47 +02:00
Guantao Liu e6824674f4 Cover the case that there is no command-line argument. 2018-10-02 19:45:35 -07:00
Guantao Liu 668a16327b Fix the unknown argument issue in resolve_address_test.cc 2018-10-02 18:25:31 -07:00
Gleb Popov 39eb19ed35 Fix various tests on FreeBSD. 2018-09-22 22:41:39 +03:00
Vijay Pai be18cedf90 Delete epollsig poller and tests using it 2018-09-22 08:07:47 -07:00
Alexander Polcyn 964d679edc Resolve ip literals and Windows localhost manually when using c-ares 2018-09-11 13:17:24 -07:00