Commit Graph

1287 Commits

Author SHA1 Message Date
Vladimir Mihailenco 46790aa060 Add race test for big vals. Copy connection to avoid race with PubSub. 2016-03-14 16:34:15 +02:00
Vladimir Mihailenco 50b2689809 Merge pull request #279 from go-redis/fix/readn-slice-grow
Fix slice grow in readN.
2016-03-14 12:46:01 +02:00
Vladimir Mihailenco 672fb9bb97 Fix slice grow in readN. 2016-03-14 12:36:18 +02:00
Vladimir Mihailenco 4665ad860f Merge pull request #277 from go-redis/feature/conn-stack
Make free-connection stack a LIFO.
2016-03-12 15:21:05 +02:00
Vladimir Mihailenco ef5ccc12ae Add tests for conn reaper. 2016-03-12 14:42:12 +02:00
Dimitrij Denissenko 1bb55e3a9a Make free-connection stack a LIFO. 2016-03-12 13:39:50 +02:00
Vladimir Mihailenco 7a4f8ede8f Merge pull request #275 from go-redis/fix/move-pool-benchmark
Move benchmark to relevant package. Added bench task
2016-03-12 13:09:13 +02:00
Dimitrij Denissenko 900913d1e5 Move benchmark to relevant package. Added bench task 2016-03-12 13:03:08 +02:00
Vladimir Mihailenco 3f9a83634d Merge pull request #274 from go-redis/fix/go-standard-paths
Use go standard path for test data
2016-03-12 12:56:21 +02:00
Vladimir Mihailenco 7af992dd83 Merge pull request #276 from go-redis/fix/optimize-pool-remove
Optimize pool.Remove.
2016-03-12 12:56:13 +02:00
Vladimir Mihailenco fdd0fdf678 Optimize pool.Remove. 2016-03-12 12:41:02 +02:00
Dimitrij Denissenko e80f790e76 Use go standard path for test data 2016-03-12 10:25:59 +00:00
Vladimir Mihailenco 0d67a1f70f Merge pull request #273 from go-redis/fix/extract-pool-package
Extract pool package. Add pool benchmark.
2016-03-12 11:40:35 +02:00
Vladimir Mihailenco ad0739be99 Extract pool package. Add pool benchmark. 2016-03-12 10:52:13 +02:00
Vladimir Mihailenco aad45610b0 Merge pull request #271 from go-redis/fix/benchmark-against-redigo
More benchmarks.
2016-03-10 12:14:32 +02:00
Vladimir Mihailenco b90cea8e8d More benchmarks. 2016-03-10 11:23:03 +02:00
Vladimir Mihailenco eb78eedafe Merge pull request #268 from go-redis/fix/close-connection-on-network-timeout
Close connection on network timeout.
2016-03-09 15:28:25 +02:00
Vladimir Mihailenco 27635bbe4e Fix FailoverClient to close connection to Sentinel. Fixes races build. 2016-03-09 15:14:01 +02:00
Vladimir Mihailenco 0db1d730c8 Improve pool tests by verifying number of created connections. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 4edc7a059c Fix race in tests. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 673e999431 Close connection on network timeout. 2016-03-09 14:36:14 +02:00
Vladimir Mihailenco 0ea1bdd306 Merge pull request #269 from go-redis/fix/client-methods
Correct method accessors
2016-03-09 12:42:46 +02:00
Dimitrij Denissenko 9f40911f28 Correct method accessors 2016-03-09 09:49:05 +00:00
Vladimir Mihailenco 847e1270db Merge pull request #266 from go-redis/fix/error-format
Fix error formatting.
2016-03-08 16:17:45 +02:00
Vladimir Mihailenco d3f33b67b9 Fix error formatting. 2016-03-08 16:00:33 +02:00
Vladimir Mihailenco f7d4933032 Merge pull request #265 from go-redis/fix/cn-used-at
Set conn.UsedAt when connection is created. Fixes #263.
2016-03-04 14:56:54 +02:00
Vladimir Mihailenco 43aade818a Set conn.UsedAt when connection is created. Fixes #263. 2016-03-04 10:33:51 +02:00
Vladimir Mihailenco 7116858f67 Merge pull request #264 from go-redis/fix/used-at
Update conn.UsedAt on Read/Write. Fixes #263.
2016-03-02 14:46:27 +02:00
Vladimir Mihailenco 73ad84252c Use package logger. 2016-03-02 13:37:28 +02:00
Vladimir Mihailenco 78d40d5bd7 Update conn.UsedAt on Read/Write. Fixes #263. 2016-03-02 13:26:05 +02:00
Vladimir Mihailenco a4e4d1da06 Merge pull request #261 from go-redis/fix/simplify-sticky-conn-pool
Simplify connection management with sticky connection pool. Fixes #260.
2016-03-01 17:12:48 +02:00
Vladimir Mihailenco 6b369a317f Compare number approximatively. 2016-03-01 16:14:53 +02:00
Vladimir Mihailenco 9c261facce travis: test Go 1.6. 2016-03-01 14:14:43 +02:00
Vladimir Mihailenco 110e93a8e4 Simplify connection management with sticky connection pool. Fixes #260. 2016-03-01 14:12:25 +02:00
Vladimir Mihailenco 0382d1e980 Merge pull request #257 from go-redis/fix/use-uint32
Use uint32 because uint64 requires manual alignment on 386 arch. Fixes #256.
2016-02-18 12:55:49 +02:00
Vladimir Mihailenco e750d2b7e2 Use uint32 because uint64 requires manual alignment on 386 arch. Fixes #256. 2016-02-18 12:42:35 +02:00
Vladimir Mihailenco 298fdec445 Merge pull request #255 from go-redis/fix/logger-prefix
Add prefix to package logger.
2016-02-06 12:27:35 +02:00
Vladimir Mihailenco ebf51e1a1b Add prefix to package logger. 2016-02-06 12:16:09 +02:00
Vladimir Mihailenco 6dac5ea35c Merge pull request #254 from go-redis/fix/cluster-slots-id
Fix cluster slots parsing.
2016-02-06 12:07:15 +02:00
Vladimir Mihailenco 2b2a6805dd Fix cluster slots parsing. 2016-02-06 11:45:34 +02:00
Vladimir Mihailenco 255bb28996 Merge pull request #253 from fsouza/global-logger-issue-250
Declare and use a package-level Logger
2016-02-06 11:26:46 +02:00
Francisco Souza d3ee281748 Declare and use a package-level Logger
This allow users of the API to override the Logger. Fix #250.
2016-02-03 12:30:39 -05:00
Vladimir Mihailenco 538069c33f Merge pull request #248 from go-redis/fix/pool-stats-tweaks
Tweak pool stats.
2016-01-25 16:10:42 +02:00
Vladimir Mihailenco 6c7b789b3a Tweak pool stats. 2016-01-25 15:57:09 +02:00
Vladimir Mihailenco d2b13f523d Merge pull request #244 from anmic/feature/pool-metrics
Add pool instrumentation.
2016-01-25 15:47:06 +02:00
Vladimir Mihailenco 3f059e5c53 Merge pull request #247 from go-redis/fix/sort-nil-reply
Sort can return nil reply. Fixes #246.
2016-01-22 12:45:54 +02:00
Vladimir Mihailenco 3ed364e92a Sort can return nil reply. Fixes #246. 2016-01-22 12:29:23 +02:00
Anatolii Mihailenco f7a4bd5023 Add pool instrumentation. 2016-01-19 20:08:22 +02:00
Vladimir Mihailenco dd1ac33826 Merge pull request #239 from anmic/feature/info
commands.go: add section parameter to Info function.
2016-01-08 15:20:08 +02:00
Anatolii Mihailenco 602824623b commands.go: add section parameter to Info function. 2016-01-08 15:03:34 +02:00