ZhangShangyu commented on PR #10156: URL: https://github.com/apache/apisix/pull/10156#issuecomment-1754567212
> The error log occurs when the upstream is rebuilt as we add or delete an upstream node. The state is not correct, it will lead to unbalanced load. It's a problem, we should fix this, so the error log level is appropriate here. we also meet this error log, https://github.com/apache/apisix/issues/9415, finally we decide to ignore this target not find error, treat the node as health ``` if err == "target not found" then core.log.warn("health check target not found, ignore health check, addr: ", node.host, ":", port or node.port, ", host: ", host, ", err: ", err) up_nodes = transform_node(up_nodes, node) else core.log.error("failed to get health check target status, addr: ", node.host, ":", port or node.port, ", host: ", host, ", err: ", err) end ``` btw it may not lead to unbalanced load, because it add all node to the up_nodes as default. -- 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]
