jujiale opened a new issue, #8945:
URL: https://github.com/apache/apisix/issues/8945

   ### 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
   
   1. add a route with three upstream nodes, such as A, B, C. add active 
healthycheck with tcp way.
   2. 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 ) 
   3. send request to this route. it also hit the node C.
   4. 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 -V` or `nginx 
-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`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to