Commit Graph

1285 Commits

Author SHA1 Message Date
Vladimir Mihailenco 7ce4387ff8 Merge pull request #117 from go-redis/feature/redis-ring
Add Redis Ring.
2015-06-04 10:12:04 +03:00
Vladimir Mihailenco c64b7819b9 Fix flaky test. 2015-06-03 17:08:27 +03:00
Vladimir Mihailenco a8fe55571b pool: put connection to the list before returning it. 2015-06-03 16:45:46 +03:00
Vladimir Mihailenco 3fc16811b5 Fix flaky tests by using better matcher. 2015-06-03 15:09:56 +03:00
Vladimir Mihailenco 7d886330f1 pool: close all connections at once. 2015-06-03 14:50:43 +03:00
Vladimir Mihailenco fc04a09033 Fix flaky test. 2015-06-03 14:36:48 +03:00
Vladimir Mihailenco 90aaae2ba2 makefile: remove ginkgo flags. 2015-06-03 14:25:52 +03:00
Vladimir Mihailenco 2103d88732 Embed consistenthash package. 2015-06-03 14:25:52 +03:00
Vladimir Mihailenco 46f49a17a5 Add Redis Ring. 2015-06-03 14:25:52 +03:00
Vladimir Mihailenco 2c4f6f8a2c Merge pull request #119 from go-redis/fix/panic-when-list-closed
Don't panic if list is closed and conn can't be found.
2015-06-03 14:25:23 +03:00
Vladimir Mihailenco 9d6c73eb9d Don't panic if list is closed and conn can't be found. 2015-06-03 14:18:15 +03:00
Vladimir Mihailenco b70f364fcc Merge pull request #99 from go-redis/fix/release-reloading-with-delay
cluster: release reloading with delay.
2015-05-26 12:08:48 +03:00
Vladimir Mihailenco b1946ee532 More comments. 2015-05-23 18:17:45 +03:00
Vladimir Mihailenco 7b1eeda9c1 Merge pull request #116 from go-redis/fix/reduce-options
Reduce number of various options structs. Slightly reword comments.
2015-05-23 18:01:57 +03:00
Vladimir Mihailenco 1665b190e9 Merge pull request #115 from go-redis/fix/client-client-example
Add basic example how to use Redis Cluster. Unify comments.
2015-05-23 17:57:39 +03:00
Vladimir Mihailenco 40b429df49 Reduce number of various options structs. Slightly reword comments. 2015-05-23 17:56:18 +03:00
Vladimir Mihailenco f6ef0fd342 Add basic example how to use Redis Cluster. Unify comments. 2015-05-23 16:35:30 +03:00
Vladimir Mihailenco 1eb3e076ed Merge pull request #114 from go-redis/fix/use-v3-in-readme
Update readme for v3.
2015-05-23 14:49:29 +03:00
Vladimir Mihailenco 36fcbb1f94 Update readme for v3. 2015-05-23 14:43:49 +03:00
Vladimir Mihailenco 1d02fa85a9 sentinel: add comment. 2015-05-23 14:43:34 +03:00
Vladimir Mihailenco fb9ea75a37 Merge pull request #113 from go-redis/fix/better-pubsub-example
Rewrite PubSub example.
2015-05-23 14:42:30 +03:00
Vladimir Mihailenco 387330857d Fix ClientPause test. 2015-05-23 14:36:29 +03:00
Vladimir Mihailenco f79308a137 Rewrite PubSub example. 2015-05-23 14:15:58 +03:00
Vladimir Mihailenco cdfab22180 Merge pull request #110 from go-redis/fix/redis-string-meth
Add Client.String method.
2015-05-18 15:18:55 +03:00
Vladimir Mihailenco f531b3b493 Add Client.String method. 2015-05-18 15:14:12 +03:00
Vladimir Mihailenco c1033ead39 Merge pull request #109 from go-redis/feature/client-pause
Add ClientPause command.
2015-05-18 15:08:17 +03:00
Vladimir Mihailenco c194f97ea2 Merge pull request #112 from go-redis/fix/multi-less-confusion
multi: remove confusing comment.
2015-05-18 15:01:36 +03:00
Vladimir Mihailenco 55f551a447 multi: remove confusing comment. 2015-05-18 14:59:39 +03:00
Vladimir Mihailenco e72b69b964 Increase read/write timeout. 2015-05-18 14:52:46 +03:00
Vladimir Mihailenco bca8659b54 Run tests against latest Redis version. 2015-05-18 14:44:40 +03:00
Vladimir Mihailenco 4df8b2bbbc Add ClientPause command. 2015-05-15 15:11:22 +03:00
Vladimir Mihailenco 44a58ef067 Merge pull request #108 from go-redis/fix/reduce-zadd-mem-alloc
commands: reduce memory allocations in ZAdd.
2015-05-15 13:15:38 +03:00
Adrien Bustany 5f85be3173 commands: reduce memory allocations in ZAdd. 2015-05-15 13:10:42 +03:00
Vladimir Mihailenco bbfbc5f668 Merge pull request #107 from go-redis/fix/psetex-setex-remove
Remove PSetEx and SetEx. Set should be used instead.
2015-05-15 13:02:15 +03:00
Vladimir Mihailenco 3530941b1d Merge pull request #105 from go-redis/chore/redis-v3
Release redis.v3 beta.
2015-05-15 13:01:46 +03:00
Vladimir Mihailenco 0b87c16b61 Remove PSetEx and SetEx. Set should be used instead. 2015-05-14 16:49:47 +03:00
Vladimir Mihailenco 40bad36dfb cluster: don't reload slots if address already changed. 2015-05-14 16:37:12 +03:00
Vladimir Mihailenco 18ea75d2ad Release redis.v3 beta. 2015-05-14 16:24:19 +03:00
Vladimir Mihailenco b4f481ef43 Merge pull request #106 from go-redis/fix/dont-pass-db-password-to-sentinel
Fix/dont pass db password to sentinel
2015-05-14 16:21:03 +03:00
Vladimir Mihailenco 716ecc313b travis: don't test on tip (it is broken). 2015-05-14 16:14:25 +03:00
Vladimir Mihailenco 1078a303ea sentine: don't pass DB and Password to Sentinel client. 2015-05-14 16:13:45 +03:00
Vladimir Mihailenco b8b073f3bf Merge pull request #101 from go-redis/feature/auto-retry-and-max-retries
Add auto-retry and MaxRetries option. Fixes #84.
2015-05-14 15:11:40 +03:00
Vladimir Mihailenco 6ee0a9b9f5 Merge pull request #104 from go-redis/fix/use-cluster-info-to-ping
cluster: user ClusterInfo instead of Ping to find live node.
2015-05-14 15:06:30 +03:00
Vladimir Mihailenco f24d3ff013 Increase test timeout. 2015-05-14 14:54:38 +03:00
Vladimir Mihailenco 84cd16e214 cluster: user ClusterInfo instead of Ping to find live node. 2015-05-13 12:38:34 +03:00
Vladimir Mihailenco 368e3ce853 Merge pull request #102 from go-redis/fix/attempts-reset
cluster: don't reset command when there no attempts left.
2015-05-11 13:06:45 +03:00
Vladimir Mihailenco ab2f697b53 Merge pull request #100 from go-redis/fix/pool-close-gracef
pool: gracefully close pool by giving users time to free connection.
2015-05-11 13:04:43 +03:00
Vladimir Mihailenco 8c67e00efc Add auto-retry and MaxRetries option. Fixes #84. 2015-05-10 17:02:47 +03:00
Vladimir Mihailenco 7f1eb05ba8 cluster: don't reset command when there no attempts left. 2015-05-10 16:01:38 +03:00
Vladimir Mihailenco 575fe0d0b5 pool: gracefully close pool by giving users time to free connection. 2015-05-10 11:15:59 +03:00