Commit Graph

546 Commits

Author SHA1 Message Date
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
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 d3a8d04b9c Merge pull request #97 from go-redis/fix/pool-closes-all-connections
Fix pool to close all connections when client is closed.
2015-05-05 12:38:46 +03:00
Vladimir Mihailenco f3f44aefbe Fix pool to close all connections when client is closed. 2015-05-05 12:17:44 +03:00
Vladimir Mihailenco 3714e407e0 Merge pull request #98 from go-redis/fix/rm-deprecated-funs
Remove deprecated funcs.
2015-05-05 11:51: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 f7a1636422 Merge pull request #95 from go-redis/fix/close-client-and-reaper
Implement Close and fix reaper goroutine leak.
2015-05-01 14:20:01 +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 593f01fceb Merge pull request #93 from go-redis/fix/dont-reset-clients
cluster: don't reset clients on MOVED.
2015-04-28 20:13:49 +03:00
Vladimir Mihailenco e194c5e81b Merge pull request #94 from go-redis/feature/cluster-benchmark
Add very basic cluster benchmark. Cleanup other benchmarks.
2015-04-28 19:20:02 +03:00
Vladimir Mihailenco 46527c872d cluster: don't reset clients when slots are changed. 2015-04-28 18:17:33 +03:00
Vladimir Mihailenco e6d90baaf8 Add very basic cluster benchmark. Cleanup other benchmarks. 2015-04-28 18:14:19 +03:00
Dimitrij Denissenko 6313dc03a7 Avoid remove/new/init loop in pool 2015-04-23 10:33:59 +01:00
Dimitrij Denissenko 3cf14884c9 Fixed test 2015-04-22 08:50:37 +01:00
Dimitrij Denissenko 750d14fe21 Ensure all new connections are initialised 2015-04-22 08:32:54 +01:00
Dimitrij Denissenko a5891da2f6 Simplify internal API 2015-04-17 14:18:44 +01:00
Dimitrij Denissenko 60e0221c3d Handle test failures 2015-04-17 14:03:34 +01:00
Vladimir Mihailenco e91b88fa17 Merge pull request #90 from go-redis/fix/pool-waiting-for-connection
Fix pool waiting for connection that was removed.
2015-04-17 15:57:27 +03:00
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