Commit Graph

415 Commits

Author SHA1 Message Date
Vladimir Mihailenco d3fb658fef Fix pool waiting for connection that was removed. 2015-04-17 15:42:35 +03:00
Dimitrij Denissenko 6d8aaa46d2 Merge pull request #87 from go-redis/fix/cluster-pipeline
Ensure slots are initialised. Return non-failing connections to pool
2015-04-13 14:51:58 +01:00
Dimitrij Denissenko 51f0a7b0a7 Ensure slots are initialised. Return non-failing connections to pool 2015-04-13 14:33:44 +01:00
Vladimir Mihailenco 9de2369192 Merge pull request #85 from go-redis/fix/time-duration-timeout
Use time.Duration to specify timeout.
2015-04-13 10:04:28 +03:00
Vladimir Mihailenco 053939b6e8 Merge pull request #77 from go-redis/feature/cluster-pipeline-rebas
Feature/cluster pipeline rebas
2015-04-13 09:50:05 +03:00
Vladimir Mihailenco fb7803ad5a Use time.Duration to specify timeout. 2015-04-13 09:48:40 +03:00
Vladimir Mihailenco 99fe9114b1 Add ClusterPipeline. 2015-04-13 09:31:30 +03:00
Vladimir Mihailenco 5c951b37d5 Merge pull request #82 from go-redis/fix/cleanup-cluster-logic
Attempt to cleanup cluster logic.
2015-04-10 18:04:44 +03:00
Vladimir Mihailenco 58c7dacf5b Restore cluster_client_test.go 2015-04-08 12:40:45 +03:00
Vladimir Mihailenco fc0565a85b Remove getAddrs. 2015-04-08 12:28:50 +03:00
Vladimir Mihailenco 52a9dd52b7 Store addresses of replicas again. 2015-04-08 12:28:21 +03:00
Vladimir Mihailenco dbfd75705c Remove unused func. 2015-04-07 12:51:01 +03:00
Vladimir Mihailenco 2511a1791d Use only master node address. 2015-04-07 12:51:01 +03:00
Vladimir Mihailenco 94a31f499f Attempt to cleanup cluster logic. 2015-04-07 12:51:01 +03:00
Vladimir Mihailenco 8096f43489 Merge pull request #46 from go-redis/feature/add-bitpos2
Add bitpos command.
2015-04-06 12:57:23 +03:00
Vladimir Mihailenco 754c11ab7f Add bitpos command. 2015-04-06 12:48:43 +03:00
Vladimir Mihailenco 6bf048a36c Merge pull request #83 from go-redis/fix/add-idle-connections-reaper
Add reaper that closes idle connections to the cluster.
2015-04-06 11:43:44 +03:00
Vladimir Mihailenco fe931fc851 Add reaper that closes idle connections to the cluster. 2015-04-05 15:41:16 +03:00
Vladimir Mihailenco 4fefa47d6d Merge pull request #79 from go-redis/fix/consistent-zrevrange
Use consistent API in ZRevRangeWithScores and ZRevRange. Fixes #56. Fixes #78.
2015-04-04 14:51:05 +03:00
Vladimir Mihailenco f0d65dece3 Merge pull request #80 from go-redis/fix/improbably-race-condition
Better race protection
2015-03-31 10:42:56 +03:00
Dimitrij Denissenko ac4571386d Naming consistency 2015-03-30 21:12:52 +01:00
Dimitrij Denissenko e428ae1457 Rename mutex properties 2015-03-30 15:53:28 +01:00
Dimitrij Denissenko f5091d4be5 Better race protection 2015-03-30 15:10:53 +01:00
Vladimir Mihailenco c6692db208 Merge pull request #69 from go-redis/feature/refactor-set-setnx-setxx
Refactor Set, SetNX and SetXX with expiration.
2015-03-30 17:07:27 +03:00
Vladimir Mihailenco 2dc61d458a Refactor Set, SetNX and SetXX with expiration. 2015-03-30 16:49:08 +03:00
Vladimir Mihailenco d363cc72c5 Merge pull request #76 from go-redis/fix/hash-slot-unexport
Unexport HashSlot.
2015-03-30 16:15:57 +03:00
Vladimir Mihailenco 381a6375dd Merge pull request #75 from go-redis/fix/better-rate-limiter
Improve rate-limiter
2015-03-30 16:15:21 +03:00
Vladimir Mihailenco 026823f334 Use consistent API in ZRevRangeWithScores and ZRevRange. Fixes #56. Fixes #78. 2015-03-30 16:14:21 +03:00
Vladimir Mihailenco 802521d0fe travis: add missing dependency. 2015-03-30 16:00:36 +03:00
Dimitrij Denissenko e3ba7e7bf6 Improved rate-limiter, use ratelimit package 2015-03-25 17:02:26 +00:00
Vladimir Mihailenco 36a06ec378 Unexport HashSlot. 2015-03-23 10:23:33 +02:00
Vladimir Mihailenco 2dc0bd1c0a Merge pull request #74 from go-redis/fix/cluster-redirects
Fixed redirects logic - 'max' means less that or equals to
2015-03-21 13:45:27 +02:00
Dimitrij Denissenko e662309bf4 Fixed redirects logic - 'max' means less that or equals to 2015-03-19 11:40:18 +00:00
Vladimir Mihailenco f8b9d6219b Merge pull request #72 from go-redis/feature/cluster-without-pipeline
Feature/cluster without pipeline
2015-03-19 11:30:43 +02:00
Dimitrij Denissenko c21e5f3255 Add Redis Cluster support. 2015-03-19 11:19:55 +02:00
Vladimir Mihailenco 78cf6f5eae Add ability to reset command state. Fixes #57. 2015-03-18 16:57:39 +02:00
Dimitrij Denissenko 66cbad53a1 Minor test improvements 2015-02-09 08:14:41 +00:00
Vladimir Mihailenco f9d30778d2 Merge pull request #70 from go-redis/feature/faster-pool
Faster, lock-free pool
2015-02-02 11:05:25 +02:00
Dimitrij Denissenko a6385ccf0a Documented options 2015-01-31 14:54:37 +00:00
Dimitrij Denissenko f05782eeaa Go 1.2 doesn't support parallel benchmarks 2015-01-31 13:31:31 +00:00
Dimitrij Denissenko 9f9822edd2 Use a lock-free connection pool 2015-01-31 13:20:37 +00:00
Dimitrij Denissenko 5280246642 Minor. Report rate-limiter errors correctly. 2015-01-31 12:04:30 +00:00
Dimitrij Denissenko c3ab344f84 Improve benchmark 2015-01-31 12:01:21 +00:00
Dimitrij Denissenko fe4c2d4918 Added benchmark 2015-01-31 11:56:23 +00:00
Vladimir Mihailenco 70c4c19f1d Merge pull request #62 from go-redis/fix/better-rate-error
Improve rate limited error message.
2015-01-31 10:16:13 +02:00
Vladimir Mihailenco 9c17ce2d93 Improve rate limited error message. 2015-01-31 10:12:01 +02:00
Vladimir Mihailenco c66f542b4f Merge pull request #68 from go-redis/fix/relax-pool-test-conditions
Relax pool test conditions.
2015-01-31 10:10:46 +02:00
Vladimir Mihailenco 689f061943 Relax pool test conditions. 2015-01-31 09:53:08 +02:00
Vladimir Mihailenco b408dc24aa Merge pull request #65 from go-redis/fix/pubsubnumsub
Better fix for pubsub numsub
2015-01-30 17:22:35 +02:00
Dimitrij Denissenko 34855172f2 Fix/normalise pubsubnumsub response 2015-01-30 17:09:57 +02:00