go-redis icon indicating copy to clipboard operation
go-redis copied to clipboard

Redis Go client

Results 292 go-redis issues
Sort by recently updated
recently updated
newest added

When using context cancellation, the underlying connection isn't closed nicely, triggering a logger error in [pubsub.go:159](https://github.com/go-redis/redis/blob/master/pubsub.go#L159). ``` redis: 2022/06/10 11:26:24 pubsub.go:159: redis: discarding bad PubSub connection: read tcp 127.0.0.1:49920->127.0.0.1:6379: use...

Added a field ShouldRetry to all client option structs, to allow custom behavior on retries. Existing shouldRetry function is renamed to DefaultShouldRetry, and is the default as the name suggests....

wait
Stale

redirect only when meet move|ask|loading|readonly err, when meet other err, such as network ,should not retry request in redirect loop, network err request should be retry by maxretries. if we...

Fixes https://github.com/go-redis/redis/issues/2024

wait

Fix [issue 2070](https://github.com/go-redis/redis/issues/2070)

https://github.com/go-redis/redis/blob/2465baaab55d74ec9d5e42a971b2bf5dba3a6b29/command.go#L16

Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. should not redirect req when meet netwrokr err in cluster, in cluster mode...

Go documentation usually follows a rule of: something is only safe for concurrent access if it's explicitly documented to be safe. I don't see any explicit documentation regarding thread safety...

enhancement
question

redis now has sharded pub/sub should those be supported?

Issue tracker is used for reporting bugs and discussing new features. Please use [stackoverflow](https://stackoverflow.com) for supporting issues. ## Expected Behavior I hope HSet can support store map[string]struct. ## Current Behavior...