ERR redis cluster_error ai_generated true

ERR CLUSTERDOWN The cluster is down - slot migration in progress

ID: redis/cluster-slot-migration

Also available as: JSON · Markdown
80%Fix Rate
82%Confidence
3Evidence
2023-01-01First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
7 active

Root Cause

Redis cluster slot migration caused temporary unavailability.

generic

Workarounds

  1. 85% success Wait for migration to complete (usually seconds)
    CLUSTER INFO to monitor cluster_state
  2. 80% success Use CLUSTER SETSLOT STABLE to abort stuck migration
    redis-cli CLUSTER SETSLOT <slot> STABLE on all nodes

Dead Ends

Common approaches that don't work:

  1. Force kill the migrating node 88% fail

    Leaves slots in inconsistent state requiring manual fix.

  2. Cancel migration and restart cluster 80% fail

    Partially migrated slots cause data loss.