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
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544
.
7 years ago
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
7 years ago
David Garcia Quintas
c3c7e5548f
{grpclb,client_lb}_end2end: Fix epoll1 flakes
7 years ago
David Garcia Quintas
ecabe09b89
Condition variables are not latches
7 years ago
David Garcia Quintas
fc950fbeb5
Fix bug in handling of RR connectivity transition to SHUTDOWN
7 years ago
David Garcia Quintas
6a7935e14e
Watch the LB channel using the right initial conn. state
7 years ago
Mark D. Roth
e7751807e2
Use new protocol for reporting dropped calls to grpclb balancer.
7 years ago
David Garcia Quintas
c22c65b58d
grpclb: deal with all-drops serverlists
7 years ago
David Garcia Quintas
51d0ff0f3d
Fix deadlocks in grpclb_end2end_test
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
David Garcia Quintas
87d5a3130d
Implement LB policy updates
8 years ago
Nicolas "Pixel" Noble
670d8bf675
Moving gtest to the end.
8 years ago
Mark D. Roth
f91eb714c2
Change round_robin LB policy to use the addresses in the order given.
8 years ago
Mark D. Roth
d7389b418f
Implement grpclb drop support.
8 years ago
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.
8 years ago
Mark D. Roth
09e458c6cd
Implement client-side load reporting for grpclb.
8 years ago
David Garcia Quintas
0745356ab2
Apply slowdown factor to timeouts
8 years ago
David Garcia Quintas
04109e8f7d
BUILD and #include fixes
8 years ago