-
Notifications
You must be signed in to change notification settings - Fork 41
Description
refer: https://valkey.io/commands/client-capa/
redirect - This indicates that the client is capable of handling redirect messages. When accessing a replica node in standalone mode, if a data operation is performed (read or write commands), Valkey will return -REDIRECT primary-ip:port to this connection. Note that the primary-ip can be an IPv6 which itself contains colons, so to properly parse ip and port, a client needs to locate the last colon. Using the READONLY command can enable this connection to execute read commands on the replica node.
Reactions are currently unavailable