-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Current Behavior
when have seveval upstream nodes and open active healthy check with tcp way. if one node does not exist(such as the node machine shutdown ). healthy check will not remove the node from upstream nodes.
Expected Behavior
even if the node is not exist. it also should be remove from the upstream nodes config table.
Error Logs
log(): [healthcheck] (upstream#/xxxx/xxx/upstreams/426538814077405003) unhealthy TIMEOUT increment (1/3) for '([172.xx.xx.xx:20020]'
Steps to Reproduce
- add a route with three upstream nodes, such as A, B, C. add active healthycheck with tcp way.
- two upstream nodes is ok, such as A, B, the thrid node(C) is not exist.(in here. not exist means the machine is shutdown. or is not exist. not the port's process is down )
- send request to this route. it also hit the node C.
- when invoke http://ip:port/v1/healthcheck. the return includes the node C
Environment
- APISIX version (run
apisix version):2.12.0 - Operating system (run
uname -a):centos7: 3.10.0-957.21.3.el7.x86_64 - OpenResty / Nginx version (run
openresty -Vornginx -V):openresty/1.21.4.1 - etcd version, if relevant (run
curl http://127.0.0.1:9090/v1/server_info):3.5.0 - APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run
luarocks --version):
Metadata
Metadata
Assignees
Labels
No labels