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
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
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
Vladimir Mihailenco
c7d2ae66a0
Merge pull request #939 from pascaldekloe/master
...
FIX: WATCH example stack protection (with retry count)
2018-12-21 11:36:52 +02:00
Pascal S. de Kloe
38381402f6
FIX: WATCH example stack protection (with retry count) + comment transaction steps.
2018-12-19 21:57:44 +01:00
Vladimir Mihailenco
7f89fbac80
Merge pull request #936 from go-redis/fix/retry-cluster-pipeline-read-cmds
...
Retry cluster pipeline read commands
2018-12-17 16:16:01 +02:00
Vladimir Mihailenco
6ff343b69f
Merge pull request #932 from theodesp/master
...
Add Client Unblock
2018-12-15 10:01:56 +02:00
Theo
b5aefa2f6a
ClientUnblock + ClientUnblockWithError
2018-12-14 14:46:15 +00:00
Vladimir Mihailenco
10edc85b67
Retry cluster pipeline read commands
2018-12-13 13:27:41 +02:00
Vladimir Mihailenco
45a00fd91a
Merge pull request #935 from go-redis/fix/load-state-when-there-is-none
...
clusterStateHolder.Get should load a state when there is none
2018-12-13 13:15:37 +02:00
Vladimir Mihailenco
382feca784
clusterStateHolder.Get should load a state when there is none
2018-12-13 12:41:58 +02:00
Vladimir Mihailenco
1c2f271afc
Merge pull request #924 from rvolosatovs/feature/xgroup
...
xgroup: Add XGroupCreateMkStream
2018-12-13 11:09:58 +02:00
Vladimir Mihailenco
f18a97fc94
Increase timeout
2018-12-13 11:06:27 +02:00
Vladimir Mihailenco
29e07c1098
Merge pull request #934 from go-redis/fix/rm-limiter-copy
...
Remove limiter copy
2018-12-13 10:49:30 +02:00
Vladimir Mihailenco
9409a4baf0
Remove limiter copy
2018-12-13 10:31:02 +02:00
Theo
c6bf37c653
Add Client Unblock
2018-12-11 20:26:48 +00:00
Roman Volosatovs
c9555c4277
xgroup: Add XGroupCreateMkStream
2018-12-11 15:52:46 +01:00
Vladimir Mihailenco
11cf9400d5
Consistent naming
2018-12-11 13:17:41 +02:00
Vladimir Mihailenco
0e62f5ec35
Merge pull request #929 from theodesp/master
...
Add Client Id
2018-12-11 13:15:35 +02:00
Theo
2672a0fbf2
Add Client Id
2018-12-11 10:43:54 +00:00
Vladimir Mihailenco
1d1269e0cf
Merge pull request #884 from go-redis/feature/limiter
...
Add Limiter interface
2018-11-29 11:21:03 +02:00
Vladimir Mihailenco
0604be51df
Fix build
2018-11-29 11:09:11 +02:00
Vladimir Mihailenco
6c3e78d03f
travis: remove Go 1.7 and Go 1.8
2018-11-29 10:06:51 +02:00
Vladimir Mihailenco
5d8c5c5c37
Add Limiter interface
2018-11-29 09:52:49 +02:00
Vladimir Mihailenco
6116387106
Merge pull request #915 from robmccoll/patch-1
...
Add godoc about Receive call after Subscribe
2018-11-29 09:49:07 +02:00
Rob McColl
a47799f02c
doc: add info about Receive call after Subscribe
2018-11-27 16:13:30 -05:00
Vladimir Mihailenco
8238d9a027
Merge pull request #913 from go-redis/fix/rm-consistent-check
...
Remove Redis Cluster state check
2018-11-24 13:32:57 +02:00
Vladimir Mihailenco
17e8439f2f
Remove Redis Cluster state check
2018-11-24 13:16:21 +02:00
Vladimir Mihailenco
78a66f0e5f
Merge pull request #908 from go-redis/fix/redis-cluster-fixes
...
Fix corner cases and a bug
2018-11-21 12:26:15 +02:00
Vladimir Mihailenco
4d5a8b91ad
Fix tests
2018-11-21 11:16:25 +02:00
Vladimir Mihailenco
18e7a81047
Fix corner cases and a bug
2018-11-21 10:49:30 +02:00
Vladimir Mihailenco
effc0c507a
Merge pull request #900 from N-o-X/master
...
Add support for XDEL
2018-11-13 15:19:00 +02:00
Noah Hilverling
3a019aa681
Add support for XDel
2018-11-13 13:23:59 +01:00
Vladimir Mihailenco
0064936c5b
Cleanup
2018-11-11 12:13:00 +02:00
Vladimir Mihailenco
5c041b4083
Merge pull request #899 from fanatic/master
...
Cleanup sentinel pubsub on close
2018-11-11 12:07:00 +02:00
Jason Parrott
7fa8fdf3e7
Cleanup sentinel pubsub on close
...
Currently, the pubsub connection is aggressively disconnected when we close the upstream client which causes it to log something like:
redis: 2018/11/09 09:10:07 pubsub.go:151: redis: discarding bad PubSub connection: read tcp 127.0.0.1:61025->127.0.0.1:26378: use of closed network connection
This change simply cleans up the connection on close.
We create new redis servers and connections for each set of independent tests and the logs were getting spammy.
2018-11-09 09:32:22 -05:00
Vladimir Mihailenco
58f22c56fd
Change ZWithKey
2018-11-03 12:07:25 +02:00