1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-12 14:21:52 +03:00
Commit Graph

204 Commits

Author SHA1 Message Date
94ea195dc1 Use node address instead of relying on loopback reported by redis 2017-07-01 12:31:41 +03:00
5132e15c93 Fix cmd info race. Fixes #578 2017-06-17 12:34:39 +03:00
4a3a300665 Add Options.OnConnect 2017-05-26 14:56:18 +03:00
7e8890b644 Embed Cmdable into StatefulCmdable 2017-05-25 13:38:04 +03:00
6307b95039 Export Cmder.Name 2017-05-09 12:45:30 +03:00
eeb4d09198 rename Pipelineable to Pipeliner 2017-05-02 12:00:53 -03:00
6fca4d5ad0 pipeline now has its own interface "Pipelineable" 2017-05-01 12:42:58 -03:00
9ebd89772a Rework PubSub conn management 2017-04-24 13:41:03 +03:00
8c21ec0006 Fix typo in ClusterClient.TxPipelined()
It should be using ClusterClient.TxPipeline() and not ClusterClient.Pipeline().
2017-04-21 15:50:32 +03:00
80673992e6 gofmt 2017-04-02 17:10:47 +03:00
ef95182d29 Code cleanup 2017-03-31 15:11:11 +03:00
2cf5af9928 Merge branch 'v5' 2017-03-20 12:23:42 +02:00
ab1e8de9ea Add ability to read client options 2017-03-20 12:15:21 +02:00
f33571c93c Merge branch 'v5' 2017-03-04 13:38:55 +02:00
15998effbe Don't panic if cluster state is nil. 2017-03-04 13:27:34 +02:00
30412d7652 Added support for universal client 2017-02-20 10:46:22 +00:00
8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
69554c0ec5 Reduce number of allocations. 2017-01-13 13:39:59 +02:00
cd7431c40a Fix cluster pipeline tests. 2016-12-20 17:59:38 +02:00
b49d47eb4d Merge pull request #449 from go-redis/fix/use-first-slot-when-there-are-no-keys
Use first slot/shard when key is not defined.
2016-12-16 15:38:35 +02:00
6cd7a09b22 Use first slot/shard when key is not defined. 2016-12-16 14:30:23 +02:00
4ba635e15f Add func doc. 2016-12-16 14:19:53 +02:00
152cc1ee34 Merge pull request #444 from go-redis/feature/tx-pipeline
Add TxPipeline.
2016-12-16 11:40:46 +02:00
865d501d07 Add TxPipeline. 2016-12-16 11:25:58 +02:00
34122bffa8 Check that clients implement scripter interface. 2016-12-14 12:12:50 +02:00
c7dfbb54af Fix nil ptr in case when all nodes are unavailable. 2016-12-12 17:30:08 +02:00
420337dc4a Simplify cmdInfo check. 2016-12-09 15:52:36 +02:00
fb584d25db fix cmdInfo nil pointer panic 2016-12-08 01:34:22 +08:00
b4efc45f1c Set read/write timeouts more consistently. 2016-12-03 17:30:13 +02:00
83208a1d9b Use consistent cluster state when executing pipeline. 2016-11-08 11:46:44 +02:00
8558a92fa4 Retry multiple commands more conservatively. 2016-10-13 13:56:24 +03:00
236c021d4c simplify if condition 2016-10-13 17:27:43 +09:00
2c5b239ecb Remove internal errors package that clashes with std lib. 2016-10-09 11:44:31 +00:00
639950777c More cluster tests. 2016-10-09 11:27:38 +00:00
f5245efa73 Prepare v5 release. 2016-10-09 10:56:53 +00:00
eeba1d7db1 Select random node when there are no keys. 2016-10-09 10:30:45 +00:00
fcf53a2a78 Better cluster loading handling. 2016-10-09 08:18:57 +00:00
3cc9b99fb8 if readonly, read from master when slave is loading 2016-10-09 11:30:01 +08:00
84ae986659 Remove Addr field from clusterNode 2016-10-06 05:24:28 +09:00
7cbee9d337 Enable reaper on ClusterClient and add tests. 2016-10-02 12:44:01 +00:00
e57ac63b6e Simplify resubscribing in PubSub. 2016-09-29 12:33:47 +00:00
bb84d84aea Merge pull request #375 from go-redis/fix/cluster-without-nodes
Don't panic when cluster does not have valid nodes.
2016-09-27 12:38:15 +03:00
0b706418d9 Add Pipeline to Cmdable. 2016-09-27 09:29:21 +00:00
8f5aeb7065 Disable idle checks for cluster connection 2016-09-27 14:13:33 +09:00
c0b792a059 Don't panic when cluster does not have valid nodes. 2016-09-23 11:52:19 +00:00
261cf7ae70 Fix Del command case. 2016-07-08 09:30:38 +00:00
7d856c5595 Make proto/parser an internal package 2016-07-02 13:52:10 +01:00
4761c24218 Add ForEachMaster API. 2016-06-17 12:09:38 +00:00
4e64d5aa6e Run cluster tests on Client with RouteByLatency option. 2016-06-06 09:43:29 +00:00
079b7ce393 Rework Options initialisation. 2016-06-05 11:10:30 +00:00