1705 Commits

Author SHA1 Message Date
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
a1b60d7b43 Add the tests for balancer and resolver 2016-05-12 17:01:58 -07:00
2b2e776a9d Temporarily disable handler-tls for TestStreamServerInterceptor due to #619 2016-05-12 16:28:03 -07:00
8bdfd5961d Set number of cores explicitly if it is not specified and add TODO for core list 2016-05-12 15:03:42 -07:00
83e628beaa Merge pull request #679 from gyuho/example_typo
Documentation: fix metadata.FromContext example
2016-05-12 13:56:35 -07:00
46f2afd293 Interrupt retry Sleep() on client connection shutdown
Otherwise transportMonitor hangs around long enough after Close() that it
looks like a goroutine leak.
2016-05-12 13:14:22 -07:00
a5e20f67d1 Merge pull request #676 from iamqizhao/master
Release the quota taken in streamsQuota when an rpc is timeout or canceled
2016-05-12 11:48:33 -07:00
c4adca718a Documentation: fix metadata.FromContext example
metadata.FromContext returns additional boolean value.
This fixes the example in metadata documentation.
2016-05-12 11:07:32 -07:00
31cbd9ae6f Use all cpu cores available on machine by default 2016-05-12 11:03:29 -07:00
0dc39fe27f Golint and histogram opts compare 2016-05-11 17:57:59 -07:00
423a9dea78 Change getStats to do reseting if required. 2016-05-11 17:20:16 -07:00
5cb0ac1fcc Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 17:09:07 -07:00
09176558b4 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 15:50:31 -07:00
8d1806945e Release the quota taken in streamsQuota when an rpc is timeout or canceled. 2016-05-11 15:50:22 -07:00
54222d50cc Merge pull request #673 from iamqizhao/master
Change some compression related error code
2016-05-11 15:47:18 -07:00
9521f8ddae Change RWMutex to Mutex 2016-05-11 12:02:39 -07:00
e1243883d6 Merge histograms into one histogram in getStats 2016-05-11 11:51:36 -07:00
e0f9f26e85 remove the checking of empty string for recvCompress 2016-05-11 11:01:26 -07:00
b506f13d5b change the error code when the required decompressor is not installed 2016-05-11 10:46:23 -07:00
19ded23951 graceful close and test 2016-05-10 19:29:44 -07:00
113bf2f219 Change some compression related error code 2016-05-10 13:54:10 -07:00
64ed38ebed Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 16:30:45 -07:00
ab0be5212f Merge pull request #672 from iamqizhao/master
skip more go runtime goroutines in leak check.
2016-05-06 15:58:34 -07:00
44373898ac Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 15:47:17 -07:00
9c2d8546bf load balancer 2016-05-06 15:47:09 -07:00
af817236f6 skip more go runtime goroutines in leak check. 2016-05-06 15:20:15 -07:00
04f4ff6a1c Merge pull request #671 from iamqizhao/master
Fix a race of onRead couting
2016-05-06 14:29:59 -07:00
9ccc0dd988 Add histogram Merge function 2016-05-06 14:26:07 -07:00
4e30886378 Create a histogram for each goroutine 2016-05-06 14:19:32 -07:00
660a65ba7c Minor fixes
Move code around
2016-05-06 14:18:57 -07:00
dc1dd06ebe Fix a race of onRead couting 2016-05-06 12:01:14 -07:00
9604a2bb7d Revert "Fix onRead race"
This reverts commit 973c6ff04de19fa90e3ccb7029a591d6d782002f.
2016-05-06 11:57:52 -07:00
973c6ff04d Fix onRead race 2016-05-06 11:49:49 -07:00
43b6e14060 Add comments for exported fields 2016-05-05 10:48:20 -07:00
7bc11a0c29 Remove histogramValue 2016-05-04 18:09:24 -07:00
d846ac94b3 Simplify histogram 2016-05-04 17:54:34 -07:00
8eb8dd0298 Merge pull request #660 from menghanl/benchmark_client
Benchmark worker
2016-05-04 15:50:59 -07:00
a04636c236 Minor fixes.
Comments
Remove nanosecond, add elapse directly
2016-05-04 14:16:47 -07:00
ac8e82e9d0 Explicitly set default cpu number to 1 2016-05-04 11:55:36 -07:00
78994035bc Modify comments 2016-05-04 11:24:28 -07:00
a0ea2d2050 Fix comments and remove useless WaitGroup 2016-05-03 18:28:06 -07:00
d34f891713 Move closeConns to client shutdown() 2016-05-03 17:38:32 -07:00