Signals that a cluster client is following an -ASK redirect.
ASKING
When a cluster client receives an -ASK
redirect, the
ASKING
command is sent to the target node followed by the
command which was redirected. This is normally done automatically by
cluster clients.
If an -ASK
redirect is received during a transaction,
only one ASKING command needs to be sent to the target node before
sending the complete transaction to the target node.
See ASK redirection in the Valkey Cluster Specification for details.
Simple string
reply: OK
.
O(1)
@connection @fast
CLUSTER, CLUSTER ADDSLOTS, CLUSTER ADDSLOTSRANGE, CLUSTER BUMPEPOCH, CLUSTER COUNT-FAILURE-REPORTS, CLUSTER COUNTKEYSINSLOT, CLUSTER DELSLOTS, CLUSTER DELSLOTSRANGE, CLUSTER FAILOVER, CLUSTER FLUSHSLOTS, CLUSTER FORGET, CLUSTER GETKEYSINSLOT, CLUSTER HELP, CLUSTER INFO, CLUSTER KEYSLOT, CLUSTER LINKS, CLUSTER MEET, CLUSTER MYID, CLUSTER MYSHARDID, CLUSTER NODES, CLUSTER REPLICAS, CLUSTER REPLICATE, CLUSTER RESET, CLUSTER SAVECONFIG, CLUSTER SET-CONFIG-EPOCH, CLUSTER SETSLOT, CLUSTER SHARDS, CLUSTER SLOT-STATS, CLUSTER SLOTS, READONLY, READWRITE.