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
|
40bad36dfb
|
cluster: don't reload slots if address already changed.
|
2015-05-14 16:37:12 +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
|
7f1eb05ba8
|
cluster: don't reset command when there no attempts left.
|
2015-05-10 16:01:38 +03:00 |
Vladimir Mihailenco
|
2507be6cd2
|
Merge pull request #96 from go-redis/fix/reload-slots-in-background
Reload slots in background goroutine.
|
2015-05-05 12:44:43 +03:00 |
Vladimir Mihailenco
|
121cfc5792
|
Remove deprecated funcs.
|
2015-05-02 16:22:06 +03:00 |
Vladimir Mihailenco
|
84dc1f963e
|
Reload slots in background goroutine.
|
2015-05-01 14:22:49 +03:00 |
Vladimir Mihailenco
|
7da995891e
|
Lower ticker duration.
|
2015-05-01 13:24:24 +03:00 |
Vladimir Mihailenco
|
cc0ee10019
|
Fix deadlock. Stop time.Ticker. Add a test that closed client is not deadlocked.
|
2015-05-01 11:01:01 +03:00 |
Vladimir Mihailenco
|
d00fb6ead9
|
Implement Close and fix reaper goroutine leak.
|
2015-05-01 09:37:59 +03:00 |
Vladimir Mihailenco
|
46527c872d
|
cluster: don't reset clients when slots are changed.
|
2015-04-28 18:17:33 +03:00 |
Vladimir Mihailenco
|
d3fb658fef
|
Fix pool waiting for connection that was removed.
|
2015-04-17 15:42:35 +03:00 |
Dimitrij Denissenko
|
51f0a7b0a7
|
Ensure slots are initialised. Return non-failing connections to pool
|
2015-04-13 14:33:44 +01:00 |
Vladimir Mihailenco
|
99fe9114b1
|
Add ClusterPipeline.
|
2015-04-13 09:31:30 +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
|
fe931fc851
|
Add reaper that closes idle connections to the cluster.
|
2015-04-05 15:41:16 +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
|
36a06ec378
|
Unexport HashSlot.
|
2015-03-23 10:23:33 +02:00 |
Dimitrij Denissenko
|
e662309bf4
|
Fixed redirects logic - 'max' means less that or equals to
|
2015-03-19 11:40:18 +00:00 |
Dimitrij Denissenko
|
c21e5f3255
|
Add Redis Cluster support.
|
2015-03-19 11:19:55 +02:00 |