redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Apache License 2.0
2.35k stars 149 forks source link

Feature: support REDIRECT in the standalone client implementation #634

Open rueian opened 1 week ago

rueian commented 1 week ago

The standalone Valkey 8 server can respond with MOVED and ASK redirections, therefore the standalone client implementation should be able to follow them.

Related to https://github.com/valkey-io/valkey-doc/pull/164

rueian commented 6 days ago

Actually, I think we should reuse the clusterClient when we enable CLIENT CAPA redirect.