Open sunnkode opened 2 years ago
大佬帮忙看看下面的情况是咋回事
redis部署的是三节点哨兵:172.10.0.242、172.10.0.243、172.10.0.244(操作系统是centos 7.9) 断网前:243是主节点,242和244是从节点 断网后:242变成主节点
测试代码有10个订阅,如下:
使用ifconfig ens192 down 断开主节点243的网络,待csredis哨兵主节点切换成242后,使用ifconfig ens192 up 使243重新联网, 此时242变成主节点,截图如下:
然后订阅就一直报错,循环输出下图红色框选的错误信息
报错堆栈信息如下:
试试用 FreeRedis
大佬,有临时的解决方案吗,我们生产环境在用,暂时还没法替换成FreeRedis
大佬帮忙看看下面的情况是咋回事
redis部署的是三节点哨兵:172.10.0.242、172.10.0.243、172.10.0.244(操作系统是centos 7.9) 断网前:243是主节点,242和244是从节点 断网后:242变成主节点
测试代码有10个订阅,如下:
使用ifconfig ens192 down 断开主节点243的网络,待csredis哨兵主节点切换成242后,使用ifconfig ens192 up 使243重新联网, 此时242变成主节点,截图如下:
然后订阅就一直报错,循环输出下图红色框选的错误信息
报错堆栈信息如下: