Commit Graph

1129 Commits

Author SHA1 Message Date
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
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