ASKING
Syntax
ASKING
- Available since:
- Redis Open Source 3.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@fast,@connection, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
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 Redis Cluster Specification for details.
Redis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud |
Notes |
|---|---|---|
| ❌ Standard |
❌ Standard |
Return information
Simple string reply:
OK.