nginx_upstream_check_module
nginx_upstream_check_module copied to clipboard
bug report: 使用tcp模式做健康检查,rise的count不会超过worker数,导致无法踢出故障节点或恢复故障节点.
trafficstars
您好姚伟斌大神!
我在使用该模块用tcp方式进行检查时,rise的count不会超过worker数. 例如worker数是8,rise的count只到8,除非reload后,才会再增长,但也只会再增长8,就不会再有任何变化. 这会导致健康检查功能无法使用.
如图所示,tcp健康检查 部分,rise的count数,都是8的倍数. count为40,是 因为我reload了5次. 其中有一个为32,是因为我模拟故障.
我用的是1.20.1+patch,nginx版本1.20.2.
谢谢!
这个不维护了吧?
same issue
我的分支已经验证和修复该问题,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git