原因是redis出错了。解决方法如下:
1、使用命令检查REDIS状态: /java/redis/redis7000/src/redis-trib.rb check 192.168.249.230:7000
[ERR] Nodes don't agree about configuration!
>>> Check for open slots...
[WARNING] Node 192.168.249.230:7001 has slots in importing state (4658).
[WARNING] The following slots are open: 4658
>>> Check slots coverage...
[OK] All 16384 slots covered.
2、使用命令修复REDIS: /java/redis/redis7000/src/redis-trib.rb fix 192.168.249.230:7001
[OK] All nodes agree about slots configuration.
>>> Check for open slots...
>>> Check slots coverage...
[OK] All 16384 slots covered.
通过以上两步即可解决:CLUSTERDOWN The cluster is down
本文介绍了当Redis集群出现故障时的排查与修复步骤。首先通过特定命令检查集群状态,发现节点配置不一致及开放槽位问题。随后采用修复命令进行调整,确保所有节点配置一致且所有槽位得到覆盖。
1272

被折叠的 条评论
为什么被折叠?



