./bin/redis-trib.rb check 检查集群状态有错误信息:
[ERR] Nodes don‘t agree about configuration!
>>> Check for open slots...
[WARNING] Node 192.168.100.222:7000 has slots in importing state (5781,6320,8331,9369,9454,9586,9743,9842,9938,9974).
[WARNING] Node 192.168.100.222:7001 has slots in importing state (5781,6320,8331,9369,9454,9586,9743,9842,9938,9974).
[WARNING] The following slots are open: 5781,6320,8331,9369,9454,9586,9743,9842,9938,9974
>>> Check slots coverage...
[OK] All 16384 slots covered.
清除对应散列槽中的任何导入/迁移状态
./bin/redis-cli -h 192.168.100.222 -p 7000
cluster setslot 9369 stable
cluster setslot 9454 stable
cluster setslot 9586 stable
......
./bin/redis-cli -h 192.168.100.222 -p 7001
cluster setslot 5781 stable
cluster setslot 6320 stable
cluster setslot 8331 stable
......
原文:https://www.cnblogs.com/xiaoxiaozhou/p/12621591.html