SpinTheMic
Pro

Interview practice question

Multi-key commands fail in Redis Cluster

Backend Engineering · NoSQL and Redis · Intermediate

After moving to Redis Cluster, some commands like MGET and transactions fail with CROSSSLOT errors. Why, and how do you fix them?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Keys hashed into different slots/nodes.
  • Multi-key ops need same slot.
  • Hash tags {user123}.
  • Restructure keys or split commands.
  • Client-side fan-out for MGET.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics