Commit Graph

2300 Commits

Author SHA1 Message Date
Vladimir Mihailenco a11b22fce9 Cleanup 2020-09-24 09:06:17 +03:00
Vladimir Mihailenco 3b2dd4f86e
Merge pull request #1503 from icholy/xinfo_stream
Add XINFO STREAM
2020-09-24 09:01:06 +03:00
Ilia Choly a2b0227421 feature: add XINFO STREAM support 2020-09-23 11:16:35 -04:00
Vladimir Mihailenco 2b9cfd3cc4
Merge pull request #1505 from go-redis/fix/refactor-xinfo-group
Refactor NewXInfoGroupsCmd
2020-09-23 12:05:02 +03:00
Vladimir Mihailenco 86326c4924 Refactor NewXInfoGroupsCmd 2020-09-23 11:50:31 +03:00
Vladimir Mihailenco a32502b1d9 Cleanup 2020-09-23 10:29:13 +03:00
jamsonzan c89b69131d
fix: firstKeyPos cmdSlot (#1502)
* fix(xread):cmdSlot

Co-authored-by: zhangxinjian <zhangxinjian@crop.netease.com>
2020-09-23 10:22:11 +03:00
Vladimir Mihailenco e6caec210d Fix Discord link 2020-09-18 18:18:12 +03:00
Vladimir Mihailenco bb50129f69 Add Discord 2020-09-18 18:14:49 +03:00
Vladimir Mihailenco 26d8b48cee Cleanup 2020-09-18 14:57:59 +03:00
x1nchen 10e779f856
feature: add support for set keepttl (#1499)
* feature: add support for set keepttl
2020-09-18 14:49:12 +03:00
Vladimir Mihailenco bae2f9cc64 Fix badge 2020-09-18 09:24:22 +03:00
Vladimir Mihailenco fcb50dc64b
Merge pull request #1496 from pendo-io/fix-tx-cmd-corruption
Fixes #1386; pipeline.Exec() sometimes returns spurious `StatusCmd`
2020-09-18 09:09:19 +03:00
Scott Parkerson 26a6d4714c Fixes #1386; pipeline.Exec() sometimes returns spurious `StatusCmd`
This is caused by function `wrapMultiExec` sometimes clobbering the caller's
cmd slice, corrupting future requests.
2020-09-17 10:53:55 -04:00
Vladimir Mihailenco 9d110cb0a4 Add back go vet 2020-09-17 17:01:29 +03:00
Vladimir Mihailenco eb28cb6426
Merge pull request #1495 from go-redis/fix/dependency-chain
Reduce dependency chain
2020-09-17 16:55:53 +03:00
Dimitrij Denissenko 3fc96195a4 Reduce dependency chain 2020-09-17 14:32:08 +01:00
Vladimir Mihailenco 2eb40d83aa Update changelog 2020-09-17 13:08:36 +03:00
Vladimir Mihailenco 8f33c7c6b0
Merge pull request #1494 from go-redis/fix/do-not-use-retry-backoff
Do not use retry backoff in PubSub
2020-09-17 13:08:17 +03:00
Vladimir Mihailenco 6a1b941a69 Update changelog 2020-09-17 12:58:09 +03:00
Vladimir Mihailenco 76f1e50d50 Do not use retry backoff in PubSub 2020-09-17 12:54:48 +03:00
Vladimir Mihailenco c89ef0aacf
Merge pull request #1493 from go-redis/feature/ctx-cancel
Feature/ctx cancel
2020-09-17 12:51:39 +03:00
Vladimir Mihailenco c5d4b71f66 Fix race 2020-09-17 12:36:10 +03:00
Vladimir Mihailenco 297e671f5e Properly propagate context error 2020-09-17 11:23:34 +03:00
Pavlov Aleksey eda1f9c6ad add context cancelation support for blocking operations 2020-09-17 11:23:12 +03:00
Vladimir Mihailenco 4b9d6dfd40 Propage context in Ring 2020-09-14 15:37:05 +03:00
GreenHedgehog 1a65d677b3
Fix not applying updated ClusterClient context after calling WithContext method (#1480)
pass context to command info cache init call
2020-09-14 15:30:50 +03:00
Vladimir Mihailenco f354306eec Add bug report template 2020-09-14 13:29:56 +03:00
Vladimir Mihailenco bc362ac0cc Update changelog 2020-09-14 13:28:01 +03:00
Vladimir Mihailenco b85a319370 Make build more stable 2020-09-11 16:56:02 +03:00
Vladimir Mihailenco 30e120f33e
Merge pull request #1485 from go-redis/fix/sentinel-route-by
Add Sentinel RouteBy
2020-09-11 16:18:17 +03:00
Vladimir Mihailenco cbce5dbfa2 Add Sentinel RouteBy 2020-09-11 16:06:08 +03:00
Vladimir Mihailenco afb0064872
Merge pull request #1484 from go-redis/fix/cluster-node-latency
Periodically update Cluster node latency
2020-09-11 14:29:38 +03:00
Vladimir Mihailenco 46e04ce67e Fix build 2020-09-11 14:17:23 +03:00
Vladimir Mihailenco 68baad7f84
Merge pull request #1483 from go-redis/fix/default-retries
Tweak number of retries
2020-09-11 12:33:49 +03:00
Vladimir Mihailenco 83d698027f Periodically update Cluster node latency 2020-09-11 12:33:03 +03:00
Vladimir Mihailenco b657760cca Tweak number of retries 2020-09-11 12:13:27 +03:00
Vladimir Mihailenco 513fcfb224 Remove strconv 2020-09-11 09:32:39 +03:00
Vladimir Mihailenco b67982d210
Merge pull request #1479 from go-redis/fix/hook-call-after
Make sure to call after hook on error
2020-09-11 09:25:48 +03:00
Vladimir Mihailenco 69287d7ea9 Make sure to call after hook on error 2020-09-10 17:36:36 +03:00
Vladimir Mihailenco fb80d4211a
Merge pull request #1477 from go-redis/fix/hooks-lifo
Change hooks to be LIFO
2020-09-10 09:43:29 +03:00
Vladimir Mihailenco b1866caeda
Merge pull request #1475 from go-redis/renovate/github.com-go-redis-redis-v8-8.x
Update module go-redis/redis/v8 to v8.0.0-beta.11
2020-09-10 09:39:16 +03:00
Vladimir Mihailenco 5aaa6c6207 Change hooks to be LIFO 2020-09-10 09:22:51 +03:00
Vladimir Mihailenco f82e4988ec Fix flaky test 2020-09-10 09:19:07 +03:00
Renovate Bot d1a0ae0616
Update module go-redis/redis/v8 to v8.0.0-beta.11 2020-09-09 16:41:23 +00:00
Vladimir Mihailenco 655eaaa39d
Merge pull request #1473 from go-redis/feature/failover-cluster-client
Feature/failover cluster client
2020-09-09 18:37:14 +03:00
Vladimir Mihailenco 690d9a94f3 Rename SlowLog to SlowLogGet 2020-09-09 18:09:26 +03:00
Vladimir Mihailenco 457cdea58f Fix build 2020-09-09 17:40:37 +03:00
Vladimir Mihailenco 4877841b11 Rename ReadOnly to SlaveOnly and cleanup 2020-09-09 17:03:47 +03:00
Ehsan Afzali 6c85ee767a Add NewFailoverClusterClient 2020-09-09 15:37:52 +03:00