wangwei0326 commented on issue #13385: URL: https://github.com/apache/apisix/issues/13385#issuecomment-4562288597
@kyrie4899 For a normal node, after it is deleted through the dashboard, accessing the /v1/healthcheck endpoint 30 seconds later still returns the deleted node's information, but it has a purge_time. For an abnormal node, there is no purge_time. root@10-150-229-139:~# curl http://127.0.0.1:9090/v1/healthcheck/upstreams/619149297325179581 | python -m json.tool { "name": "/apisix/upstreams/619149297325179581", **"nodes": [ { "counter": { "http_failure": 0, "success": 2, "tcp_failure": 0, "timeout_failure": 0 }, "hostname": "10.205.102.167", "ip": "10.205.102.167", "port": 8600, "purge_time": 1778580075.06, "status": "healthy"** }, { "counter": { "http_failure": 0, "success": 2, "tcp_failure": 0, "timeout_failure": 0 }, "hostname": "10.195.26.32", "ip": "10.195.26.32", "port": 8600, "status": "healthy" }, { "counter": { "http_failure": 0, "success": 2, "tcp_failure": 0, "timeout_failure": 0 }, "hostname": "10.195.26.33", "ip": "10.195.26.33", "port": 8600, "status": "healthy" }, { "counter": { "http_failure": 0, "success": 0, "tcp_failure": 2, "timeout_failure": 0 }, **"hostname": "10.205.102.167", "ip": "10.205.102.167", "port": 8900, "status": "unhealthy"** } ], "type": "tcp" } -- 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]
