Juanli Shen
5739d34c46
Merge pull request #14497 from AspirinSJL/fix_rpc_failure_flake
...
Add warmup before first batch in UpdateBalancers tests
2018-02-23 14:07:01 -08:00
Juanli Shen
acdefd7646
Add warmup before first batch
2018-02-22 13:46:00 -08:00
Vijay Pai
a8453a20d8
Merge branch 'master' into 2phase_thd
2018-02-21 10:24:15 -08:00
Mark D. Roth
bd0f15119a
Refactor code for generating balancer channel args.
2018-02-20 10:28:22 -08:00
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
2018-02-19 22:39:58 -08:00
Juanli Shen
10142e4651
Fix test again
2018-02-16 14:27:59 -08:00
Juanli Shen
87c6504ca9
Revert "Revert "Revert "Revert "grpclb re-resolution""""
2018-02-15 09:42:45 -08:00
David G. Quintas
f66cf0d70d
Revert "Revert "Revert "grpclb re-resolution"""
2018-02-12 20:55:27 -08:00
Vijay Pai
1d168541fd
Merge pull request #14407 from vjpai/gpr_review_thd
...
GPR review: Internalize most of gpr_thd (but not ID/current ID)
2018-02-12 20:06:56 -08:00
Juanli Shen
95f37b3108
Fix test
2018-02-12 13:32:32 -08:00
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
2018-02-12 11:44:52 -08:00
Juanli Shen
776490af0e
Revert "Revert "grpclb re-resolution""
2018-02-12 11:35:40 -08:00
Mark D. Roth
209f644f04
Convert resolver API to C++.
2018-02-08 10:26:46 -08:00
Juanli Shen
aa7dc296b6
Revert "grpclb re-resolution"
2018-02-07 09:50:08 -08:00
Juanli Shen
33cdd57ab7
grpclb in charge of its re-resolution
2018-02-06 17:03:53 -08:00
Juanli Shen
d82e137c7b
Add a results_upon_error setter to fake resolver
2018-02-02 09:16:12 -08:00
Juanli Shen
8e4c9d308c
Extract lb_calld from glb_policy
2018-01-23 16:26:39 -08:00
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
2018-01-18 11:21:12 -08:00
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
2017-12-06 09:47:54 -08:00
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
2017-12-06 09:05:05 -08:00
Yash Tibrewal
73bb67d054
Merge master into execctx
2017-12-05 17:49:11 -08:00
David Garcia Quintas
3a9743c881
Fix UpdatesTest.UpdateBalancersDeadUpdate expectation
2017-12-04 12:25:29 -08:00
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
2017-11-29 19:07:44 -08:00
Juanli Shen
f9df52900a
Fix comment
2017-11-28 18:08:36 -08:00
Yash Tibrewal
6c26b16fe0
Move ExecCtx to grpc_core namespace. Make exec_ctx a private static in ExecCtx and some minor changes
2017-11-14 18:11:22 -08:00
Yash Tibrewal
75122c2357
Address some PR comments
2017-11-14 01:36:28 -08:00
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
2017-11-09 18:27:37 -08:00
Yash Tibrewal
4e9265c828
Merge with master
2017-11-09 17:46:29 -08:00
Yash Tibrewal
40422d5fa6
Merge master
2017-11-06 14:43:31 -08:00
Craig Tiller
baa14a975e
Update clang-format to 5.0
2017-11-03 09:09:36 -07:00
Yash Tibrewal
8bd88c459a
Merge master
2017-11-01 11:49:00 -07:00
David Garcia Quintas
77827e1fb2
BG-poll very frequently to pick up subchannels's updates in LB tests
2017-10-31 19:26:08 -07:00
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
2017-10-25 17:04:35 -07:00
Juanli Shen
cbdb5174ca
Remove duplicate message member in test
2017-10-23 14:44:52 -07:00
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.
2017-10-18 17:12:19 -07:00
Juanli Shen
fe40815682
Readd grpclb fallback
2017-09-27 12:27:20 -07:00
David Garcia Quintas
588e36a3e3
Get rid of magic numbers
2017-09-18 20:01:27 -07:00
David Garcia Quintas
7d764673ef
Backends must be up before some grpclb tests start.
2017-09-18 19:10:54 -07:00
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544 .
2017-09-13 19:45:07 -07:00
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
2017-09-11 09:22:48 -07:00
David Garcia Quintas
c3c7e5548f
{grpclb,client_lb}_end2end: Fix epoll1 flakes
2017-09-07 14:24:58 -07:00
David Garcia Quintas
ecabe09b89
Condition variables are not latches
2017-08-02 18:39:31 -07:00
David G. Quintas
433f7bce2d
Merge pull request #11948 from dgquintas/grpclb_fix_rr_shutdown_connectivity
...
Fix bug in handling of RR connectivity transition to SHUTDOWN
2017-07-28 11:59:17 -07:00
David Garcia Quintas
fc950fbeb5
Fix bug in handling of RR connectivity transition to SHUTDOWN
2017-07-27 19:56:30 -07:00
David Garcia Quintas
6a7935e14e
Watch the LB channel using the right initial conn. state
2017-07-27 19:24:52 -07:00
Mark D. Roth
e7751807e2
Use new protocol for reporting dropped calls to grpclb balancer.
2017-07-27 12:31:45 -07:00
David Garcia Quintas
c22c65b58d
grpclb: deal with all-drops serverlists
2017-07-25 14:22:20 -07:00
David G. Quintas
24a4b31c07
Merge pull request #11726 from dgquintas/fix_grpclb_test_deadlocks
...
Fix deadlocks in grpclb_end2end_test
2017-07-14 12:17:54 -07:00
David Garcia Quintas
51d0ff0f3d
Fix deadlocks in grpclb_end2end_test
2017-07-13 18:43:14 -07:00
Nicolas "Pixel" Noble
5d80dc4985
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-06-26 22:01:11 +02:00
Jan Tattermusch
7897ae9308
auto-fix most of licenses
2017-06-08 11:22:41 +02:00
David Garcia Quintas
87d5a3130d
Implement LB policy updates
2017-06-06 19:45:58 -07:00
Nicolas "Pixel" Noble
5a1d197f1c
Merge branch 'master' of https://github.com/grpc/grpc into import
2017-05-26 00:31:18 +02:00
Nicolas "Pixel" Noble
670d8bf675
Moving gtest to the end.
2017-05-25 21:25:02 +02:00
Mark D. Roth
f91eb714c2
Change round_robin LB policy to use the addresses in the order given.
2017-05-19 15:19:14 -07:00
Mark D. Roth
d7389b418f
Implement grpclb drop support.
2017-05-17 12:22:17 -07:00
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.
2017-05-03 12:52:04 -07:00
Mark D. Roth
09e458c6cd
Implement client-side load reporting for grpclb.
2017-05-02 08:13:26 -07:00
David Garcia Quintas
0745356ab2
Apply slowdown factor to timeouts
2017-05-01 13:52:15 -07:00
David Garcia Quintas
04109e8f7d
BUILD and #include fixes
2017-04-28 13:03:35 -07:00
David Garcia Quintas
04911ca202
New version of grpclb end2end test
2017-04-27 16:32:09 -07:00