Commit Graph

2247 Commits

Author SHA1 Message Date
Francois Parquet af59960088
Typo error in comments 2019-04-08 20:06:31 +08:00
Kassian Sun 569307e34d Add go.mod and go.sum 2019-03-29 10:49:40 +08:00
Vladimir Mihailenco a679e61442 travis: add Go v1.12 2019-03-25 13:21:10 +02:00
Vladimir Mihailenco 174bea5e4c
Merge pull request #996 from go-redis/fix/max-age-min-idle-conns
Fix MinIdleConns and MaxConnAge
2019-03-25 13:20:25 +02:00
Vladimir Mihailenco b706478fdc Fix MinIdleConns and MaxConnAge 2019-03-25 13:02:31 +02:00
Vladimir Mihailenco 9ecae37814
Merge pull request #993 from go-redis/fix/full-chan-drop-message
pubsub: drop a message when the channel is full
2019-03-12 13:07:51 +02:00
Vladimir Mihailenco b6fdeca648 Add PubSub.ChannelSize 2019-03-12 12:48:32 +02:00
Vladimir Mihailenco 21913a8304 pubsub: drop a message when the channel is full 2019-03-12 12:40:08 +02:00
Vladimir Mihailenco 0d39ee8976
Merge pull request #987 from go-redis/fix/channels-random-node
Use random node when there are no channels
2019-03-07 14:31:53 +02:00
Vladimir Mihailenco 5c012a3872 Use random node when there are no channels 2019-03-07 12:24:43 +02:00
Vladimir Mihailenco b665d8fcf2 Rename copy to clone 2019-03-05 16:10:34 +02:00
Vladimir Mihailenco 4b1665dfdc readme: fix link 2019-03-03 11:39:22 +02:00
Vladimir Mihailenco 69c8af34df
Merge pull request #982 from EtienneM/fix/sentinel_commands
Add a couple of sentinel commands
2019-03-01 11:23:49 +02:00
Vladimir Mihailenco d22fde8721
Merge pull request #978 from go-redis/fix/lua-readonly-error
Retry master node on readonly errors. Fixes #977
2019-02-27 13:11:02 +02:00
Vladimir Mihailenco ac9e1abf54 Retry master node on readonly errors. Fixes #977 2019-02-27 12:53:44 +02:00
Étienne Michon c340532290
Add the master sentinel command 2019-02-21 18:38:36 +01:00
Étienne Michon 3c02e56ed9
Add the flushconfig sentinel command 2019-02-21 18:38:36 +01:00
Vladimir Mihailenco bd542089bb
Merge pull request #976 from EtienneM/fix/sentinel_reset
Add the reset sentinel command
2019-02-21 10:29:04 +02:00
Étienne Michon 64411c1a52
Add the reset sentinel command 2019-02-20 16:24:58 +01:00
Vladimir Mihailenco 35e2db2f14
Merge pull request #974 from EtienneM/fix/973/sentinel_failover
Add the failover sentinel command
2019-02-20 15:48:28 +02:00
Étienne Michon c341fb219f
Add the failover sentinel command 2019-02-20 11:39:33 +01:00
Vladimir Mihailenco 73ef066b86
Merge pull request #972 from go-redis/fix/streams-comment
Add Streams comment
2019-02-19 16:30:15 +02:00
Vladimir Mihailenco 07b98751c3 Add Streams comment 2019-02-19 16:29:47 +02:00
Vladimir Mihailenco 688771467e
Merge pull request #968 from yansal/patch-1
Fix typos in Client.Watch documentation
2019-02-13 12:56:56 +02:00
Yann Salaün e970ae1d0f
Fix typos in Client.Watch documentation 2019-02-13 11:51:16 +01:00
Vladimir Mihailenco b3d392315b
Merge pull request #967 from go-redis/feature/pipeliner-do
Add Pipeliner.Do
2019-02-12 12:40:58 +02:00
Vladimir Mihailenco cb152db4d6 Add Pipeliner.Do 2019-02-12 12:24:23 +02:00
Vladimir Mihailenco 473d039f0b
Merge pull request #955 from go-redis/fix/dont-remember-node
Don't remember cluster node for the PubSub
2019-02-08 15:37:55 +02:00
Vladimir Mihailenco 981cf0f5bb Don't remember cluster node for the PubSub 2019-02-08 13:46:27 +02:00
Vladimir Mihailenco 70819034d2
Merge pull request #965 from go-redis/feature/pipeline-custom-cmd
Support custom command in pipeline
2019-02-08 13:36:14 +02:00
Vladimir Mihailenco 5240e1403a Support custom command in pipeline 2019-02-08 13:22:46 +02:00
Vladimir Mihailenco 228e43ba24
Merge pull request #959 from greggjs/cluster-command-keyslots
Cluster commands respecting keyslots from command input
2019-02-03 11:08:55 +02:00
Jake Gregg 67dcdea95a Reverting changes to command.go, refactoring cluster client's calls to cmdSlot 2019-02-01 09:12:20 -08:00
Jake Gregg f3804cd0b7 👌 Adding additional logic to handle this case 2019-02-01 08:23:41 -08:00
Vladimir Mihailenco 46a69ac63c
Merge pull request #958 from yansal/patch-1
Fix typos in Ring documentation
2019-02-01 11:58:02 +02:00
Jake Gregg dba9cb31f5 ♻️ Commands that specify keyslots should not try to hash for keyslot location 2019-01-31 15:47:13 -08:00
Jake Gregg 0e69501b5a
Merge pull request #1 from go-redis/master
Updating repo w/ master
2019-01-31 15:41:25 -08:00
Yann Salaün 49e19d6805
Fix typos in Ring documentation 2019-01-31 22:24:44 +01:00
Vladimir Mihailenco 0d65bf56df
Merge pull request #957 from greggjs/cluster-get-keys-in-slot
Add GETKEYSINSLOT API call for Clustered Redis
2019-01-30 13:20:13 +02:00
Jake Gregg 65932a4b9b Add GETKEYSINSLOT api call for clustered redis 2019-01-29 10:39:58 -08:00
Vladimir Mihailenco 40336e5ef8
Merge pull request #954 from go-redis/fix/redis-stable
Use stable version of Redis
2019-01-21 16:27:48 +02:00
Vladimir Mihailenco e54b0f2944 Use stable version of Redis 2019-01-21 16:10:26 +02:00
Vladimir Mihailenco ce19d9c402
Merge pull request #952 from mingrammer/default-addr
Support default redis address
2019-01-13 14:07:05 +02:00
mingrammer c9fed25a60 Support default redis address 2019-01-13 17:36:38 +09:00
Vladimir Mihailenco d9c8076236
Merge pull request #948 from go-redis/fix/reload-more-often
Reload cluster state almost on any error
2019-01-08 16:49:39 +02:00
Vladimir Mihailenco 2e5bd7a411 Reload cluster state almost on any error 2019-01-08 16:37:22 +02:00
Vladimir Mihailenco 22be8a3eaf
Merge pull request #946 from allenwq/clusternode-race
Fix race condition when creating the cluster node
2019-01-08 14:04:09 +02:00
WANG QIANG e6eeeda3d8 Remove unnecessary error check 2019-01-08 17:15:59 +08:00
WANG QIANG d040650021 Remove SingleFlight package 2019-01-08 17:15:24 +08:00
WANG QIANG 6baf00e56b Fix race condition when creating the cluster node 2019-01-08 15:25:41 +08:00