使用jetcache做redis缓存,当redis通过哨兵选举主从节点切换次数达到三次的时候就没办法写,可以读,也就是主节点找不到,读可以通过从节点来读,报错的信息是主节点未知,是否是配置有误呢Master is currently unknown: [RedisMasterSlaveNode [redisURI=RedisURI [host='xx.xx.xx.xx', port=6379], role=SLAVE], RedisMasterSlaveNo
Master is currently unknown: [RedisMasterSlaveNode [redisURI=RedisURI [host='xx.xx.xx.xx', port=6379], role=SLAVE], RedisMasterSlaveNo
hgtggwj01#
可以参考下这篇文章: https://blog.csdn.net/qq_14869093/article/details/102453390
1条答案
按热度按时间hgtggwj01#
可以参考下这篇文章: https://blog.csdn.net/qq_14869093/article/details/102453390