Redis CLUSTERDOWN The cluster is down

The Redis cluster is unavailable due to issues with cluster nodes.
  1. Check the state of all Redis cluster nodes using the command: redis-cli -p <port> cluster nodes or redis-cli -c -p <port> cluster info. Replace <port> with the port number of any accessible node.
  2. Identify any nodes that are down or in a fail state from the output.
  3. Attempt to restart any down nodes manually. Use the command specific to your environment setup, for instance, if Redis is managed as a service: sudo systemctl restart redis on each node that is down.
  4. After attempting to restart, verify the status of the nodes again using step 1.
  5. If some nodes are still down or the cluster is not operational, check the Redis log files for any errors on each node. The default location is usually /var/log/redis/redis-server.log.
  6. Look for any network partition messages or error messages indicating why nodes are not communicating effectively.
  7. If any configuration changes were made recently, revert them and restart the affected nodes again.
  8. If the cluster still doesn't recover, consider manually forcing a failover for master nodes that are down. Use the command: redis-cli -p <port> cluster failover on any replicas of the affected master nodes. This is a last resort action.
  9. Finally, check the memory usage and disk space of each node to ensure there are no resource constraints causing the issue. Use free -m for memory and df -h for disk space on each node.

Never debug

Redis

manually again

Let Dr. Droid create custom investigation plans for your infrastructure.

Start Free POC (15-min setup) →
Automate Debugging for
Redis
See how Dr. Droid creates investigation plans for your infrastructure.

MORE ISSUES

Made with ❤️ in Bangalore & San Francisco 🏢

Doctor Droid