Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
6 years ago
Mark D. Roth
1438b17890
Fix bug that was breaking subchannel reuse in grpclb.
6 years ago
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.
6 years ago
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
6 years ago
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
6 years ago
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Mark D. Roth
217de89085
Don't ignore empty serverlists from the grpclb balancer.
6 years ago
Mark D. Roth
2cff9ca408
Revert "Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.""
6 years ago
hcaseyal
c4e2c46be1
Revert "Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE."
6 years ago
Mark D. Roth
b6059e2e86
Fail wait_for_ready=false RPCs when channel is in TRANSIENT_FAILURE.
6 years ago
Juanli Shen
25f7d0f6f4
Revert to TRANSIENT_FAILURE during backoff
6 years ago
Mark D. Roth
420db80e73
Increase client load reporting interval to avoid test flake.
7 years ago
David Garcia Quintas
6234054aa8
Verify LB doesn't receive call creds
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
David Garcia Quintas
e3438c43a0
Fix and simplify SingleBalancerTest.InitiallyEmptyServerlist
7 years ago
David Garcia Quintas
2614494f3c
grpclb_end2end test tweaks for compiler happiness
7 years ago
David Garcia Quintas
ad0996b9f3
Perform secure naming checks in grpclb_end2end_test
7 years ago
Juanli Shen
acdefd7646
Add warmup before first batch
7 years ago
Mark D. Roth
bd0f15119a
Refactor code for generating balancer channel args.
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Juanli Shen
10142e4651
Fix test again
7 years ago
Juanli Shen
87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution""""
7 years ago
David G. Quintas
f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution"""
7 years ago
Juanli Shen
95f37b3108
Fix test
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Juanli Shen
776490af0e
Revert "Revert "grpclb re-resolution""
7 years ago
Mark D. Roth
209f644f04
Convert resolver API to C++.
7 years ago
Juanli Shen
aa7dc296b6
Revert "grpclb re-resolution"
7 years ago
Juanli Shen
33cdd57ab7
grpclb in charge of its re-resolution
7 years ago
Juanli Shen
d82e137c7b
Add a results_upon_error setter to fake resolver
7 years ago
Juanli Shen
8e4c9d308c
Extract lb_calld from glb_policy
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
David Garcia Quintas
3a9743c881
Fix UpdatesTest.UpdateBalancersDeadUpdate expectation
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Juanli Shen
f9df52900a
Fix comment
7 years ago
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
7 years ago
Yash Tibrewal
75122c2357
Address some PR comments
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
David Garcia Quintas
77827e1fb2
BG-poll very frequently to pick up subchannels's updates in LB tests
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
7 years ago
Juanli Shen
cbdb5174ca
Remove duplicate message member in test
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Juanli Shen
fe40815682
Readd grpclb fallback
7 years ago
David Garcia Quintas
588e36a3e3
Get rid of magic numbers
7 years ago
David Garcia Quintas
7d764673ef
Backends must be up before some grpclb tests start.
7 years ago