kevy

CLUSTER

Cluster topology introspection (virtual-node model over shards).

SyntaxCLUSTER INFO | NODES | SLOTS | SHARDS | KEYSLOT key | COUNTKEYSINSLOT slot
Groupserver
Arity-2
Since1.0.0
Flagsreadonly, admin
ComplexityINFO / NODES / SLOTS / SHARDS / MYID: O(S). KEYSLOT: O(len(key)). COUNTKEYSINSLOT: O(N/S)
Redis compatibilitydiffers: 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

← All commands