Commit Graph

1490 Commits

Author SHA1 Message Date
Menghan Li 83e628beaa Merge pull request #679 from gyuho/example_typo
Documentation: fix metadata.FromContext example
2016-05-12 13:56:35 -07:00
Anthony Romano 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
Menghan Li 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
Gyu-Ho Lee 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
Menghan Li 31cbd9ae6f Use all cpu cores available on machine by default 2016-05-12 11:03:29 -07:00
Menghan Li 0dc39fe27f Golint and histogram opts compare 2016-05-11 17:57:59 -07:00
Menghan Li 423a9dea78 Change getStats to do reseting if required. 2016-05-11 17:20:16 -07:00
iamqizhao 5cb0ac1fcc Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 17:09:07 -07:00
iamqizhao 09176558b4 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 15:50:31 -07:00
iamqizhao 8d1806945e Release the quota taken in streamsQuota when an rpc is timeout or canceled. 2016-05-11 15:50:22 -07:00
Menghan Li 54222d50cc Merge pull request #673 from iamqizhao/master
Change some compression related error code
2016-05-11 15:47:18 -07:00
Menghan Li 9521f8ddae Change RWMutex to Mutex 2016-05-11 12:02:39 -07:00
Menghan Li e1243883d6 Merge histograms into one histogram in getStats 2016-05-11 11:51:36 -07:00
iamqizhao e0f9f26e85 remove the checking of empty string for recvCompress 2016-05-11 11:01:26 -07:00
iamqizhao b506f13d5b change the error code when the required decompressor is not installed 2016-05-11 10:46:23 -07:00
iamqizhao 19ded23951 graceful close and test 2016-05-10 19:29:44 -07:00
iamqizhao 113bf2f219 Change some compression related error code 2016-05-10 13:54:10 -07:00
iamqizhao 64ed38ebed Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 16:30:45 -07:00
Qi Zhao ab0be5212f Merge pull request #672 from iamqizhao/master
skip more go runtime goroutines in leak check.
2016-05-06 15:58:34 -07:00
iamqizhao 44373898ac Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 15:47:17 -07:00
iamqizhao 9c2d8546bf load balancer 2016-05-06 15:47:09 -07:00
iamqizhao af817236f6 skip more go runtime goroutines in leak check. 2016-05-06 15:20:15 -07:00
Menghan Li 04f4ff6a1c Merge pull request #671 from iamqizhao/master
Fix a race of onRead couting
2016-05-06 14:29:59 -07:00
Menghan Li 9ccc0dd988 Add histogram Merge function 2016-05-06 14:26:07 -07:00
Menghan Li 4e30886378 Create a histogram for each goroutine 2016-05-06 14:19:32 -07:00
Menghan Li 660a65ba7c Minor fixes
Move code around
2016-05-06 14:18:57 -07:00
iamqizhao dc1dd06ebe Fix a race of onRead couting 2016-05-06 12:01:14 -07:00
iamqizhao 9604a2bb7d Revert "Fix onRead race"
This reverts commit 973c6ff04d.
2016-05-06 11:57:52 -07:00
iamqizhao 973c6ff04d Fix onRead race 2016-05-06 11:49:49 -07:00
Menghan Li 43b6e14060 Add comments for exported fields 2016-05-05 10:48:20 -07:00
Menghan Li 7bc11a0c29 Remove histogramValue 2016-05-04 18:09:24 -07:00
Menghan Li d846ac94b3 Simplify histogram 2016-05-04 17:54:34 -07:00
Qi Zhao 8eb8dd0298 Merge pull request #660 from menghanl/benchmark_client
Benchmark worker
2016-05-04 15:50:59 -07:00
Menghan Li a04636c236 Minor fixes.
Comments
Remove nanosecond, add elapse directly
2016-05-04 14:16:47 -07:00
Menghan Li ac8e82e9d0 Explicitly set default cpu number to 1 2016-05-04 11:55:36 -07:00
Menghan Li 78994035bc Modify comments 2016-05-04 11:24:28 -07:00
Menghan Li a0ea2d2050 Fix comments and remove useless WaitGroup 2016-05-03 18:28:06 -07:00
Menghan Li d34f891713 Move closeConns to client shutdown() 2016-05-03 17:38:32 -07:00
Menghan Li 8963fdb9cb Reconstruct startBenchmarkServer 2016-05-03 17:05:37 -07:00
Menghan Li 47152e8076 Reconstruct startBenchmarkClient 2016-05-03 17:05:14 -07:00
Menghan Li 14d95fc632 Small fixes in comments. 2016-05-03 12:03:06 -07:00
Menghan Li 020c480810 Not returning error in StartServer(). 2016-05-03 11:29:00 -07:00
Qi Zhao 7f24e5e90e Merge pull request #661 from saicheems/typo
Fix typo
2016-05-03 10:54:26 -07:00
Menghan Li 444ab5553f Fix comments 2016-05-02 14:51:41 -07:00
Menghan Li ad6a5173f8 Small fix in error desc 2016-05-02 10:58:43 -07:00
Menghan Li c1cfebc384 Address review comments 2016-05-02 10:55:12 -07:00
Menghan Li 02bd4c80b5 Fix leak goroutine problem 2016-04-29 16:43:01 -07:00
Menghan Li e7801b635a Fix error in benchmark/server/main.go 2016-04-29 16:40:32 -07:00
Menghan Li 67497aad6c Minor fixes 2016-04-29 16:40:23 -07:00
Sai Cheemalapati 27ecb91efa Fix typo 2016-04-29 14:58:02 -07:00