Redis Cluster Operations Cheat Sheet

Slots, migrations, and failovers

Last Updated: November 21, 2025

Focus Areas

Focus
Balance slot ownership across masters
Use replicas for failovers and repairs

Commands & Queries

redis-cli -c CLUSTER SLOTS
View distribution
redis-cli -c CLUSTER SETSLOT 0 IMPORTING
Move slots
redis-cli -c CLUSTER FAILOVER
Promote replica

Summary

Redis clusters need deliberate slot management and failovers.

💡 Pro Tip: Automate slot migrations during quiet windows.
← Back to Databases & APIs | Browse all categories | View all cheat sheets