Menghan Li
4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
ZhouyihaiDing
2308131c44
addrConn: change address to slice of address ( #1376 )
...
* addrConn: change address to slice of address
* add pickfirst balancer to test new addrconn
2017-08-21 12:27:04 -07:00
Menghan Li
d6723916d2
Use log severity and verbosity level ( #1340 )
...
- All logs use 1 severity level instead of printf
- All transport logs only go to verbose level 2+
- The default logger only log errors and verbosity level 1
- Add environment variable GRPC_GO_LOG_SEVERITY_LEVEL and GRPC_GO_LOG_VERBOSITY_LEVEL to set severity or verbosity levels for the default logger
2017-07-13 12:10:19 -07:00
Le Van Nghia
27b2052c95
fix deadlock of roundrobin balancer ( #1353 )
2017-07-12 10:15:13 -07:00
Jan Tattermusch
ddbf6c46a6
autofix license notice
2017-06-08 14:42:19 +02:00
Menghan Li
07bd9434fa
Pass custom dialer to balancer ( #1205 )
...
* Pass custom dialer to balancer
* add test for passing custom dialer
* add grpclb package comment
2017-05-11 10:10:19 -07:00
Alec Thomas
ffa4ec7da2
Ensure that RoundRobin.Close() does not panic. ( #1139 )
2017-05-05 13:59:00 -07:00
iamqizhao
2d5f9a12ea
grpclb: Support DropRequest
2016-10-18 18:08:32 -07:00
iamqizhao
f02984b7c6
Basic support of grpclb
2016-09-19 15:11:57 -07:00
Menghan Li
74f7afb1f9
Move balancer initialization into a goroutine
2016-09-08 15:13:50 -07:00
iamqizhao
9a76919800
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-07-06 17:18:01 -07:00
iamqizhao
5688542ad1
Add the missing address metadata
2016-07-06 11:40:57 -07:00
iamqizhao
605ce23104
Merge branch 'master' of https://github.com/grpc/grpc-go
2016-06-30 15:11:56 -07:00
Menghan Li
a6bacfe42c
Fix go vet
2016-06-29 13:36:10 -07:00
iamqizhao
213a20c4fe
bug fix, typo fix and slight error refactoring
2016-06-28 16:08:19 -07:00
iamqizhao
01ef81a4d9
minor fix including removal of debugging logs, error code fix, etc.
2016-06-27 15:30:20 -07:00
iamqizhao
3e71fb360d
Support fail-fast mode and make it the default
2016-06-27 14:36:59 -07:00
iamqizhao
a4e91b9724
addressed the comments
2016-06-23 11:08:27 -07:00
iamqizhao
f5c974be39
delete unnecessary continue
2016-06-21 18:21:27 -07:00
iamqizhao
65a7b17255
Refactor round-robin
2016-06-21 17:15:31 -07:00
iamqizhao
2700f043b9
some small fixes
2016-06-01 14:09:21 -07:00
iamqizhao
5d8c1e2d84
Remove metadata when creating an Address
2016-05-26 16:14:27 -07:00
iamqizhao
cf595a8fcd
polish Address comments
2016-05-26 15:49:50 -07:00
iamqizhao
7acc9989fd
polish the comments of Notify() and Get().
2016-05-26 15:39:02 -07:00
iamqizhao
fca009f66f
Fix some small comments
2016-05-26 15:11:33 -07:00
iamqizhao
98c0b8aa3e
Fix a race conditon and add some small touchups
2016-05-25 15:55:03 -07:00
iamqizhao
d4fcb1a651
fix some comments
2016-05-25 15:31:54 -07:00
iamqizhao
fc73096412
fix some typos
2016-05-25 11:52:51 -07:00
iamqizhao
2a6703fb09
Improve Get comments
2016-05-25 11:38:29 -07:00
iamqizhao
9dc3da0633
make downErr for Balancer down closure
2016-05-25 11:28:45 -07:00
iamqizhao
8eab9cb6bf
rewrite Balancer Get comments
2016-05-24 18:14:24 -07:00
iamqizhao
26c0af8adc
some touchups
2016-05-24 17:50:02 -07:00
iamqizhao
53fe56a73e
Polish the comments
2016-05-24 17:37:44 -07:00
iamqizhao
0b1df3bca2
add BalancerGetOption
2016-05-24 17:19:44 -07:00
iamqizhao
5b484e4099
add Notify API; move the name resolving into Balancer
2016-05-23 19:25:01 -07:00
iamqizhao
9a13167f9b
Tag Balancer as experimental API
2016-05-16 17:12:44 -07:00
iamqizhao
5710bedd70
polish Balancer comments
2016-05-16 16:36:40 -07:00
iamqizhao
73ff8375a6
Remove debugging logs and add license.
2016-05-16 15:47:46 -07:00
iamqizhao
aa532d5baf
Fix some issues and remove garbbage files
2016-05-16 15:31:00 -07:00
iamqizhao
482b6e5c34
more comments
2016-05-12 19:01:25 -07:00
iamqizhao
32eec1acef
add comments
2016-05-12 18:52:24 -07:00
iamqizhao
19ded23951
graceful close and test
2016-05-10 19:29:44 -07:00
iamqizhao
9c2d8546bf
load balancer
2016-05-06 15:47:09 -07:00