解决方法:
1、检测
redis-cli --cluster check 127.0.0.1:6379
2、检测结果
[ERR] Not all 16384 slots are covered by nodes
3、进行修复
redis-cli --cluster fix 127.0.0.1:6379
// 执行命令后需要输入yes
redis-cli --cluster check 127.0.0.1:6379
[ERR] Not all 16384 slots are covered by nodes
redis-cli --cluster fix 127.0.0.1:6379
// 执行命令后需要输入yes