CLUSTERCluster topology introspection (virtual-node model over shards).
| Syntax | CLUSTER INFO | NODES | SLOTS | SHARDS | KEYSLOT key | COUNTKEYSINSLOT slot |
| Group | server |
| Arity | -2 |
| Since | 1.0.0 |
| Flags | readonly, admin |
| Complexity | INFO / NODES / SLOTS / SHARDS / MYID: O(S). KEYSLOT: O(len(key)). COUNTKEYSINSLOT: O(N/S) |
| Redis compatibility | differs: a read-only virtual-node topology derived from config (one virtual master per shard) — no gossip, no MEET / FORGET / SETSLOT effect (they reply OK as no-ops), no MIGRATE / ASK, no failover; COUNTKEYSINSLOT counts only the answering shard's keys |