Redis Sentinel 3.2 不触发脚本

Redis Sentinel 3.2 not firing scripts

所以我们刚刚 apt 在 Ubuntu 16.04 服务器上将 Redis 更新到 v3.2.8(从 3.0.7),并且注意到 client-reconfig-scriptnotification-script 似乎不再触发故障转移事件。

我们用 debug sleep 30 进行了测试,我们可以很好地操纵哨兵进行故障转移,但脚本不会触发。

相关信息:

sentinel notification-script ourmaster /mnt/efs/scripts/sentinel-notify.sh sentinel client-reconfig-script ourmaster /mnt/efs/scripts/sentinel-failover.sh

有人有什么想法吗?

现在还支持吗?

我们使用这个非官方的 Ubuntu PPA 进行 Redis 升级: https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server

官方 PPA 仍然使用 3.0.7,所以我们回滚到那个,问题就解决了。

我的唯一理论是,Redis 是在 Chris 的 PPA 中错误构建的。此时我们已经尝试了所有其他方法。