Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
xtao
7766912dda
fix more detected mu/cv leaks
2019-02-16 00:00:50 +08:00
Vijay Pai
03de98d5ef
Revert "Add test for network transitions when CFStream is enabled"
2019-02-14 15:35:44 -08:00
yang-g
545c555d31
Rename new public API
2019-02-14 14:22:40 -08:00
Nicolas "Pixel" Noble
5d5e2a4b8f
Regenerating goldef test files.
2019-02-13 22:27:45 +01:00
Nicolas "Pixel" Noble
de332cfcee
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 22:11:47 +01:00
Yash Tibrewal
73353ad281
Merge branch 'master' into interceptorcleanup1
2019-02-13 12:47:47 -08:00
Yash Tibrewal
50497c2317
Reviewer comments
2019-02-13 12:46:07 -08:00
rmstar
17651ca3cc
Merge pull request #17903 from rmstar/flakynetworktest
...
Added test for RPCs over a flaky network
2019-02-13 11:19:39 -08:00
rmstar
52360b8fa7
Merge pull request #17872 from rmstar/cfstream_test
...
Add test for network transitions when CFStream is enabled
2019-02-13 10:49:35 -08:00
Mark D. Roth
bab8123763
LB policy picker API
2019-02-13 08:30:04 -08:00
Jan Tattermusch
bc19ba1668
Merge pull request #18037 from xichengliudui/fixtypos
...
Fix various typos in .cc and .md and .py files
2019-02-13 13:24:34 +01:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
Vijay Pai
75bf7c7f48
Merge pull request #18000 from rmstar/timechangetestsan
...
Fix TSAN flake in time_change_test
2019-02-12 15:17:35 -08:00
yang-g
bc946d6c6d
merge with head and resolve conflicts
2019-02-12 15:00:32 -08:00
Prashant Jaikumar
485bc78ba3
Added flaky_network_test
2019-02-12 12:04:45 -08:00
Prashant Jaikumar
2f0f522423
Add end2end test for cfstream
2019-02-12 11:31:48 -08:00
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
2019-02-12 11:11:43 -05:00
Mark D. Roth
68a661dfb5
Merge pull request #17947 from markdroth/grpclb_service_config_fix
...
Don't pass service config from parent channel to grpclb balancer channel.
2019-02-12 07:46:50 -08:00
Vijay Pai
ac4c291773
Merge pull request #17957 from vjpai/callback_test_http_if_possible
...
Enable TCP callback tests if the event engine allows
2019-02-11 16:48:41 -08:00
apolcyn
349864c77b
Merge pull request #17998 from apolcyn/disable_txt_lookups_by_defaut
...
Disable service config resolution with c-ares by default, for now
2019-02-11 14:07:26 -08:00
Vijay Pai
a47c979ba0
Enable TCP callback tests if the event engine allows
2019-02-11 12:05:37 -08:00
Alexander Polcyn
93b7acd9bf
Disable service config resolution with c-ares by default
2019-02-11 10:30:08 -08:00
Prashant Jaikumar
52695cae91
Fix TSAN flake in time_change_test
2019-02-10 23:59:47 -08:00
ncteisen
d8947ae073
Fix internal build error
2019-02-08 17:17:00 -08:00
Yash Tibrewal
cddb5519f2
Add a test only method to reset global interceptor
2019-02-08 15:57:29 -08:00
Mark D. Roth
0794507043
Don't pass service config from parent channel to grpclb balancer channel.
2019-02-08 13:07:27 -08:00
Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
2019-02-07 19:36:51 -08:00
Vijay Pai
f919ace038
Add a microbenchmark for immediately-firing alarms
2019-02-07 08:38:26 -08:00
apolcyn
bc3abf3fcb
Merge pull request #17897 from apolcyn/enable_ares_take_3
...
Revert "Revert c-ares as the default resolver"
2019-02-06 19:43:39 -08:00
Noah Eisen
d97fd19eef
Merge pull request #17951 from ncteisen/empty-binary-metadata
...
Add Empty Binary Metadata Test
2019-02-06 15:19:00 -08:00
Jan Tattermusch
f83fbe95b4
Merge pull request #17888 from xichengliudui/updatefiles
...
Fix various typos in .cc and .md files
2019-02-06 23:33:43 +01:00
ncteisen
3fe3be39fe
Add empty binary metadata test
2019-02-06 11:04:54 -08:00
rmstar
0d9e6d1e36
Merge pull request #17842 from rmstar/timechange
...
Added test for wall clock time change on the client
2019-02-06 10:30:27 -08:00
Vijay Pai
cfc52beebc
Merge pull request #17933 from vjpai/resettable_alarm
...
Allow a grpc::Alarm to be set again after firing
2019-02-06 09:53:48 -08:00
Jan Tattermusch
18856a87fc
Merge branch 'master' into updatefiles
2019-02-06 11:45:11 +01:00
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
2019-02-05 14:07:40 -08:00
Prashant Jaikumar
bca92b2b7e
Added test for wall-clock time change on the client
2019-02-05 13:40:22 -08:00
Noah Eisen
ed0a565583
Merge pull request #17907 from ncteisen/build-madness
...
Fix Internal Build
2019-02-04 11:48:18 -08:00
ncteisen
82171553cf
clang fmt
2019-02-01 15:23:44 -08:00
ncteisen
fa74259769
Reintroduce commented debugging tips
2019-02-01 13:19:34 -08:00
ncteisen
632aa8125f
reintroduce anon namespace
2019-02-01 13:15:19 -08:00
ncteisen
c215e8e359
Fix internal build
2019-02-01 12:14:06 -08:00
Alexander Polcyn
139d9f6e94
Revert "Revert c-ares as the default resolvre"
...
This reverts commit ca30b2240f .
2019-01-31 15:06:34 -08:00
Juanli Shen
4f3c1572e1
Revert "Revert "C++-ify subchannel""
2019-01-30 10:23:07 -08:00
xichengliudui
8548a932fb
Update .cc and .md files
2019-01-30 11:24:09 -05:00
Juanli Shen
bbfc024a02
Revert "C++-ify subchannel"
2019-01-29 15:23:55 -08:00
Juanli Shen
5ecfe6f59b
Merge pull request #17653 from AspirinSJL/cpp_subchannel
...
C++-ify subchannel
2019-01-29 14:20:23 -08:00
Vijay Pai
b20f158922
Deflake a shared CQ usage
2019-01-29 13:02:48 -08:00
Juanli Shen
25dc2ffed6
C++-ify subchannel
2019-01-29 13:00:02 -08:00
Vijay Pai
80a0488d33
Make declaration match definition
2019-01-29 10:29:14 -08:00
Lidi Zheng
588486120d
Merge pull request #17854 from grpc/revert-17793-py-bm
...
Revert "Add basic benchmark test for Python"
2019-01-29 09:55:35 -08:00
Jan Tattermusch
297803e9cc
Merge pull request #17832 from jtattermusch/fix_counterintuitive_timeouts
...
Fix counterintuitive test size behavior in grpc_cc_test
2019-01-29 12:04:44 +01:00
Lidi Zheng
5198ccd89c
Revert "Add basic benchmark test for Python"
2019-01-29 00:40:01 -08:00
Yash Tibrewal
786598a6ff
Merge branch 'master' into interceptorcqavalanching
2019-01-28 11:54:39 -08:00
Lidi Zheng
16b8279ebe
Merge pull request #17793 from lidizheng/py-bm
...
Add basic benchmark test for Python
2019-01-28 11:00:37 -08:00
Jan Tattermusch
baaf93b830
revert no-longer-needed hotfix from #17820
2019-01-28 09:19:28 -05:00
Jan Tattermusch
b5506f0ee4
Merge pull request #17820 from billfeng327/bugfix/change-timeout-for-e2e
...
explicitly lengthened timeout for end2end test
2019-01-28 15:04:52 +01:00
apolcyn
ec10359c7b
Merge pull request #17213 from apolcyn/add_cloud_to_prod_gcd_tests
...
Add an interop test specific to GoogleDefaultCreds
2019-01-27 23:47:59 -08:00
Bill Feng
08e06da780
explicitly lengthened timeout
2019-01-25 15:25:34 -08:00
Alexander Polcyn
ca30b2240f
Revert c-ares as the default resolvre
2019-01-25 13:39:45 -08:00
Vijay Pai
8bc0788dae
Merge pull request #17686 from vjpai/rpc_requests
...
C++ callback API: 3 stability issues
2019-01-25 12:24:53 -08:00
Nicolas "Pixel" Noble
cabbd35014
Reformat.
2019-01-24 23:42:12 +01:00
Jan Tattermusch
9e510cc5d4
update test size to avoid RBE timeouts
2019-01-24 10:47:30 +01:00
Yash Tibrewal
d347ec7ce0
Register for cq avalanching when interceptors are going to be run
2019-01-23 19:11:51 -08:00
Nicolas "Pixel" Noble
dffbe4a1eb
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-01-23 21:40:25 +01:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
2019-01-23 11:21:50 -08:00
Lidi Zheng
4f451c78a4
Add basic benchmark test for Python
2019-01-22 16:50:47 -08:00
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
2019-01-18 17:18:33 -08:00
yang-g
ef32669915
Merge remote-tracking branch 'upstream/master' into shutdown
2019-01-18 16:01:14 -08:00
Mark D. Roth
10fa278660
Merge pull request #17577 from markdroth/lb_trailing_metadata
...
Allow LB policies to intercept recv_trailing_metadata
2019-01-17 13:26:29 -08:00
yang-g
47e5771181
Fix grpc_tool_test
2019-01-17 10:25:41 -08:00
Mark D. Roth
e8cd36924e
Add test for retry code path.
2019-01-16 10:19:14 -08:00
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
2019-01-15 14:15:18 -08:00
Juanli Shen
b3c0b91db1
Remove force_creation param from subchannel index
2019-01-15 10:47:35 -08:00
Mark D. Roth
08f94b1623
Clean up test.
2019-01-15 08:32:18 -08:00
yang-g
df9bd2f506
Merge remote-tracking branch 'upstream/master' into shutdown
2019-01-14 13:19:01 -08:00
Alexander Polcyn
371b987bf4
Revert turning c-ares on by default
2019-01-11 10:50:52 -08:00
apolcyn
34ca89765d
Merge pull request #16862 from apolcyn/convert_tests_to_cares
...
Switch the default DNS resolver from native to c-ares
2019-01-10 14:42:06 -08:00
Mark D. Roth
d655509e3d
Fix sanity and build.
2019-01-10 10:52:29 -08:00
Mark D. Roth
d6e2b33670
Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
...
This fixes a link error when building with make.
2019-01-10 10:31:16 -08:00
Mark D. Roth
8cd7178afb
Add dtors in LB policy subclasses.
2019-01-10 09:26:44 -08:00
Vijay Pai
302e7b4d2b
Merge pull request #17658 from guantaol/avoid_thd_jump
...
Avoid the thread jump in server callback APIs.
2019-01-09 13:43:24 -08:00
Juanli Shen
23677bd827
Remove subchannel args
2019-01-08 19:43:45 -08:00
Alexander Polcyn
46a872864c
Turn on c-ares as the default resolver
2019-01-08 14:46:37 -08:00
Mark D. Roth
925323c41e
Merge remote-tracking branch 'upstream/master' into lb_trailing_metadata
2019-01-08 11:15:19 -08:00
Guantao Liu
11eff929e2
Avoid the thread jump in server callback APIs.
...
Add a utility function in iomgr to check whether the caller thread is a
worker for any background poller, and keep grpc combiner from offloading
closures to the default executor if the current thread is a worker for
any background poller.
2019-01-07 18:22:50 -08:00
Yash Tibrewal
8dcda4dc36
Merge pull request #17630 from yashykt/nocopyinterception
...
Modifying semantics for GetSendMessage and GetSerializedSendMessage. Also adding ModifySendMessage
2019-01-07 16:32:24 -08:00
Yash Tibrewal
dd067fd390
Merge branch 'master' into nocopyinterception
2019-01-07 10:09:06 -08:00
Soheil Hassas Yeganeh
0d6e10e795
clang-format all the files.
...
Whenever we run clang-format, gen_build_yaml.py and
ServerServiceDefinitionExtensions.cs get modified by the script.
Let's commit those changes so that these file remain unmodified
after running the formatting script.
2019-01-07 10:21:09 -05:00
Yash Tibrewal
059459a9ee
Merge branch 'master' into failhijackedrecv
2019-01-04 17:28:25 -08:00
Yash Tibrewal
8ba5922e87
Merge branch 'master' into failhijackedsend
2019-01-04 15:29:00 -08:00
Yash Tibrewal
4886c937c1
Merge branch 'master' into failhijackedsend
2019-01-04 14:15:19 -08:00
Yash Tibrewal
6e5eb4e5a3
Merge branch 'master' into failhijackedrecv
2019-01-04 14:03:37 -08:00
Yash Tibrewal
6fc7adf277
Merge branch 'master' into bidiinterceptiontest
2019-01-04 13:54:14 -08:00
Yash Tibrewal
b05ca9697b
Merge branch 'master' into failhijackedrecv
2019-01-04 11:30:03 -08:00
Yash Tibrewal
a5ed3d245e
Avoid unsigned signed comparison issues
2019-01-04 11:17:35 -08:00
Moiz Haidry
d3db9fee9c
Merge pull request #17461 from mhaidrygoog/callback_client_streaming_benchmark
...
Add support for Callback Client Streaming benchmarks
2019-01-03 20:38:54 -08:00
Yash Tibrewal
4224384d39
Modifying semantics for GetSendMessage and GetSerializedSendMessage.
...
Also adding ModifySendMessage
2019-01-03 18:01:58 -08:00
Yash Tibrewal
bac79bdabe
Merge branch 'master' into failhijackedsend
2019-01-03 15:51:43 -08:00
Yash Tibrewal
50c60f03ba
Rename GetSendMessage to GetSerializedSendMessage and GetOriginalSendMessage to GetSendMessage
2019-01-03 12:21:19 -08:00
Yash Tibrewal
c6261f4b91
Rename new SendMessage types to SendMessagePtr
2019-01-02 14:46:52 -08:00
Yash Tibrewal
4aeba42528
Provide GetOriginalSendMessage for some APIs
2018-12-28 17:27:38 -08:00
Yash Tibrewal
aecc5f7285
Add client interceptor test for bidi streaming hijacking interceptor
2018-12-28 16:03:20 -08:00
Yash Tibrewal
24e37e249a
Merge branch 'master' into failhijackedrecv
2018-12-26 15:10:41 -08:00
Yash Tibrewal
5a6183f1bd
Merge branch 'master' into failhijackedsend
2018-12-26 13:33:06 -08:00
Moiz Haidry
7bb853ebdd
Addressed PR comments. Made Client::Thread public and removed use of void ptr to refer it. Avoided overloading of NextIssue TIme by renaming it NextRPCIssueTime
2018-12-21 22:40:38 -08:00
Soheil Hassas Yeganeh
c3eb206897
Merge pull request #17582 from soheilhy/worktree-timer-bench
...
Add microbenchmarks for grpc_timer
2018-12-21 21:35:30 -05:00
Soheil Hassas Yeganeh
2e017da58a
Add microbenchmarks for grpc_timer
...
This helps assessing upcoming changes.
2018-12-21 18:56:09 -05:00
apolcyn
00fb17aa97
Merge pull request #17575 from apolcyn/refactor_benchmark_channel_wait_for_ready_to_be_single_threaded
...
Refactor benchmark's initial wait-for-ready to be single threaded
2018-12-21 15:42:26 -08:00
Mark D. Roth
40f22bfc94
move ForwardingLoadBalancingPolicy to its own library
2018-12-21 15:09:17 -08:00
Alexander Polcyn
50eaf46718
Refactor benchmark initial channel wait for ready to be single threaded
2018-12-21 14:07:46 -08:00
yang-g
cf806915fc
Merge branch 'master' into shutdown
2018-12-21 13:36:30 -08:00
Mark D. Roth
c4c4b9152f
WIP
2018-12-21 10:57:54 -08:00
Yang Gao
806c1e0b7a
Merge pull request #17573 from yang-g/socket_mutator
...
Correctly reference the internal string for socket mutator arg
2018-12-21 10:23:31 -08:00
Mark D. Roth
e1b36decba
Merge remote-tracking branch 'upstream/master' into lb_trailing_metadata
2018-12-21 08:42:42 -08:00
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
2018-12-20 15:37:30 -08:00
Jan Tattermusch
2b028c8cec
do not use default server override for C++ interop client
2018-12-20 14:49:54 +01:00
yang-g
3c8d24ba2c
merge with head and resolve conflict
2018-12-19 10:13:41 -08:00
Nicolas Noble
62fd6850b0
Merge pull request #17534 from markdroth/grpclb_subchannel_fix
...
Fix bug incorrectly inhibiting subchannel sharing for grpclb.
2018-12-18 16:05:13 -08:00
Yang Gao
998f41a593
Merge pull request #17441 from yang-g/gpr_test_util_to_grpc_test_util
...
Fold gpr_test_util to grpc_test_util
2018-12-18 15:27:20 -08:00
Yash Tibrewal
3c3876a5da
Merge pull request #17544 from yashykt/factorydocs
...
Allow interceptor creators to return nullptr
2018-12-18 14:48:43 -08:00
Mark D. Roth
1438b17890
Fix bug that was breaking subchannel reuse in grpclb.
2018-12-18 14:14:42 -08:00
Yash Tibrewal
31a775b425
Add missing argument
2018-12-18 12:52:14 -08:00
Yash Tibrewal
a20263f64d
Add tests using NullInterceptorFactory
2018-12-18 12:41:49 -08:00
Yash Tibrewal
bb303513dc
Merge master
2018-12-18 11:40:52 -08:00
Vijay Pai
c52ae0d000
Give the interceptors header files in include/grpcpp/support
2018-12-17 15:17:01 -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
Moiz Haidry
b250f34b12
Merge pull request #17465 from mhaidrygoog/server_streaming_callback_benchmark
...
Benchmark Streaming support for callback server
2018-12-14 16:50:45 -08:00
Vijay Pai
ca4e55e6ca
Benchmark to show that byte buffer copy is size-independent
2018-12-14 13:23:34 -08:00
Moiz Haidry
5ec78a286d
Added support for fixed load benchmarks, all the rpcs access one requestor to the get the next issue time for the RPC
2018-12-14 10:49:12 -08:00
Moiz Haidry
e6e1081499
Add support for Callback Client Streaming benchmarks
2018-12-13 09:40:37 -08:00
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Moiz Haidry
3bc323977f
Streaming support for callback server
2018-12-11 13:12:39 -08:00
Noah Eisen
9e9cae7839
Merge pull request #17456 from ncteisen/socket-pagination
...
Channelz: Add Pagination to ServerSockets
2018-12-11 12:27:49 -08:00
ncteisen
c7f7db65e0
Add test and fix bug
2018-12-11 11:28:12 -08:00
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
2018-12-11 07:48:14 -08:00
Noah Eisen
403da153c8
Merge pull request #17433 from ncteisen/socket-name
...
Channelz: Surface Socket Name
2018-12-09 15:17:57 -08:00
Alexander Polcyn
a4e9f33b85
Add interop cloud to prod test for GoogleDefaultCredentials
2018-12-07 17:19:17 -08:00
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
2018-12-07 16:13:37 -08:00
ncteisen
7b81ae14a7
clang tidy and clang format
2018-12-07 14:59:04 -08:00
Mark D. Roth
bc91ebf74c
Merge pull request #17343 from markdroth/server_address_list
...
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 14:26:09 -08:00
Yang Gao
b590167cf2
Merge pull request #17435 from yang-g/health_service_shutdown
...
Add a Shutdown call to HealthCheckServiceInterface
2018-12-07 13:15:30 -08:00
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 12:41:51 -08:00
Mark D. Roth
6dc358ca34
Merge pull request #17391 from markdroth/reset_connection_backoff
...
Fix bug in subchannel backoff reset code.
2018-12-07 12:28:03 -08:00
Vijay Pai
83c6640e92
Allow the health checking service
2018-12-07 11:03:28 -08:00
yang-g
7fc52366a0
Fix alarm_test
2018-12-07 10:01:54 -08:00
yang-g
2246607ded
Review comments
2018-12-07 08:54:47 -08:00
Mark D. Roth
a6a21d1c64
more code review changes
2018-12-07 08:38:29 -08:00