go-redis
go-redis copied to clipboard
Redis Go client
The [redis-trib.rb](http://download.redis.io/redis-stable/src/redis-trib.rb) program makes it fairly easy to create a redis cluster. Once you have your nodes running you can issue a command like `redis-cluster create --replicas 1 $host0:$port $host1:$port...
Before all, please see [this issue](https://github.com/redis/redis/issues/12266) #### The path to reproduce this issue: - First, we create a new redis cluster in `cluster-preferred-endpoint-type unknown-endpoint` mode: ```bash cd /path/to/redis/repo make cd...
It would be nice to add suport of FailoverClusterClient into UniversalClient constructor.
In Enterprise environment with twproxy,not support hello command,it is return EOF
## Expected Behavior There must be an error if key was expired during being watched or another way to understand that transaction was aborted, because [documentation](https://redis.io/docs/interact/transactions/) on Watch said: >...
Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. 使用 rdb.Get() 报错 panic: read tcp 192.168.31.70:50126->192.168.31.22:6379: wsarecv: An existing connection was forcibly...
### Discussed in https://github.com/redis/go-redis/discussions/2764 Originally posted by **shamhub** October 18, 2023 Go supports client library to talk to Redis memory as cache. https://github.com/redis/go-redis but, I learnt that Redis can also...
`PSubscribe` is subscribing on one slot, one node. Pattern could not be predicted beforehand, thus subscription should be done for all nodes. ## Expected Behavior Since PSubscribe is creating subscription...
This PR makes `MaxRetries` field of `ClusterOptions` to have default `MaxRetries` value of 3, following same format of `RingOptions` and `Options`. - `RingOptions` code pointer: https://github.com/redis/go-redis/blob/master/ring.go#L119-L123 - `Options` code pointer:...