1343 Commits

Author SHA1 Message Date
98c0b8aa3e Fix a race conditon and add some small touchups 2016-05-25 15:55:03 -07:00
9051bdf564 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-25 15:49:52 -07:00
8213ee577a Merge pull request #684 from bdarnell/listener-leak
Fix a listener leak when a server is stopped before it starts
2016-05-25 15:49:35 -07:00
d4fcb1a651 fix some comments 2016-05-25 15:31:54 -07:00
fc73096412 fix some typos 2016-05-25 11:52:51 -07:00
2a6703fb09 Improve Get comments 2016-05-25 11:38:29 -07:00
9dc3da0633 make downErr for Balancer down closure 2016-05-25 11:28:45 -07:00
8eab9cb6bf rewrite Balancer Get comments 2016-05-24 18:14:24 -07:00
26c0af8adc some touchups 2016-05-24 17:50:02 -07:00
53fe56a73e Polish the comments 2016-05-24 17:37:44 -07:00
0b1df3bca2 add BalancerGetOption 2016-05-24 17:19:44 -07:00
5b484e4099 add Notify API; move the name resolving into Balancer 2016-05-23 19:25:01 -07:00
bab01e8e85 Fix a listener leak when a server is stopped before it starts
If server.Stop() and server.Serve() race, Serve() can return without
closing the listener. This in turn can lead to clients timing out trying
to connect to a server that is neither accepting nor rejecting
connections.
2016-05-22 14:52:40 -04:00
fda7cb3cdf Remove unused import 2016-05-19 10:59:35 -07:00
2151d51eaa small error touchup 2016-05-18 17:19:50 -07:00
5d62215b41 some minor fixes 2016-05-18 16:26:12 -07:00
162d8d2d33 Tune Invoke behavior for the new Balancer. 2016-05-18 11:18:10 -07:00
e9e748b978 small fix and more comments 2016-05-17 17:18:54 -07:00
b0b7afa173 Merge pull request #688 from menghanl/disable_grpc_tracing_in_benchmark
Disable grpc tracing in benchmark
2016-05-17 15:15:47 -07:00
de5d3de2fe Disable grpc tracing in benchmark 2016-05-17 14:06:45 -07:00
bbcfaa4ed7 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-17 13:47:39 -07:00
b564fc98e0 Merge pull request #677 from menghanl/multiple_histogram
Multiple histogram
2016-05-17 13:47:24 -07:00
613465d739 Use pointer receiver for locking histogram 2016-05-17 11:08:03 -07:00
71a11ef208 Wrap for lockingHistogram.add swap mergeInto 2016-05-17 10:59:28 -07:00
65969fb499 lock optimization 2016-05-16 19:19:35 -07:00
5dafdb0a17 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-16 18:54:48 -07:00
e802f420af Merge pull request #681 from menghanl/disable_handlertls_streamserverhandler
Temporarily disable handler-tls for TestStreamServerInterceptor due to #619
2016-05-16 18:51:03 -07:00
551c49844f Specify cap of slices 2016-05-16 18:30:58 -07:00
6c97293712 Use a struct of mutex and histogram in client 2016-05-16 18:29:06 -07:00
8ca2706d37 Address review comments 2016-05-16 18:28:16 -07:00
9a13167f9b Tag Balancer as experimental API 2016-05-16 17:12:44 -07:00
c22f95cf18 Polish the Balancer tests 2016-05-16 17:06:09 -07:00
5710bedd70 polish Balancer comments 2016-05-16 16:36:40 -07:00
73ff8375a6 Remove debugging logs and add license. 2016-05-16 15:47:46 -07:00
aa532d5baf Fix some issues and remove garbbage files 2016-05-16 15:31:00 -07:00
2161303fcd Remove pipe from this change. 2016-05-13 15:14:38 -07:00
31ef3ef957 some touchups 2016-05-13 15:08:09 -07:00
27f752eee6 Merge branch 'master' of https://github.com/iamqizhao/grpc-go 2016-05-13 13:29:34 -07:00
c702602bd3 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-13 13:28:42 -07:00
f4b89fe44f some fixes 2016-05-13 13:27:35 -07:00
e3351672ba complete some unfinished error 2016-05-13 13:26:36 -07:00
577b4b0d4c Address review comments 2016-05-13 10:36:50 -07:00
7bb7ec5e30 Reset lastResetTime after merging histograms 2016-05-13 10:01:46 -07:00
4c4ed377c7 Merge pull request #678 from menghanl/change_defalut_gomaxprocs
Use all cpu cores available on machine by default
2016-05-12 19:30:22 -07:00
634e886afa complete some unfinished error 2016-05-12 19:19:14 -07:00
482b6e5c34 more comments 2016-05-12 19:01:25 -07:00
32eec1acef add comments 2016-05-12 18:52:24 -07:00
f93b6bbfb5 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-12 17:43:51 -07:00
15e50a43c6 Merge pull request #680 from heyitsanthony/client-retry-wakeup-shutdown
Interrupt retry Sleep() on client connection shutdown
2016-05-12 17:43:39 -07:00
03cdc42949 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-12 17:02:23 -07:00