SpringBoot连接Redis集群时发生错误Cannot determine a partition to read for slot
今天做SpringBoot和Redis整合时发生错误
io.lettuce.core.cluster.PartitionSelectorException: Cannot determine a partition to read for slot xxx.
上网查询之后锁定错误原因:slot槽没能分配。
最后解决方法是将aof、rdb的文件存储目录删除,再重新创建即可,我的路径是/export/server/redis/data/删除data,再重新mkdir一个就解决了。(ps:一定要在redis未启
原创
2020-10-13 21:34:34 ·
4739 阅读 ·
0 评论