Concept Flow - Multi-key operations in cluster
Client sends multi-key command
Cluster identifies keys' hash slots
Are all keys in same slot?
No→Error or Redirect
Yes
Command executed on node owning slot
Result returned to client
The cluster checks if all keys belong to the same hash slot. If yes, it executes the command on that node; otherwise, it returns an error or redirect.