nginx_upstream_check_module icon indicating copy to clipboard operation
nginx_upstream_check_module copied to clipboard

bug report: 使用tcp模式做健康检查,rise的count不会超过worker数,导致无法踢出故障节点或恢复故障节点.

Open wish-coder opened this issue 1 year ago • 3 comments
trafficstars

您好姚伟斌大神!

我在使用该模块用tcp方式进行检查时,rise的count不会超过worker数. 例如worker数是8,rise的count只到8,除非reload后,才会再增长,但也只会再增长8,就不会再有任何变化. 这会导致健康检查功能无法使用.

如图所示,tcp健康检查 部分,rise的count数,都是8的倍数. count为40,是 因为我reload了5次. 其中有一个为32,是因为我模拟故障.

1715743761336

我用的是1.20.1+patch,nginx版本1.20.2.

谢谢!

wish-coder avatar May 15 '24 03:05 wish-coder

这个不维护了吧?

yswang0927 avatar Jul 18 '24 07:07 yswang0927

same issue

WanGe2000 avatar Nov 04 '24 02:11 WanGe2000

我的分支已经验证和修复该问题,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git

mofantor avatar Mar 20 '25 09:03 mofantor