Miss-you opened a new issue #2633: URL: https://github.com/apache/apisix/issues/2633
### Issue description https://github.com/apache/apisix/blob/master/apisix/balancer.lua#L210 The circuit-breaker is a basic function of api gateways. Generally speaking, a fuse is divided into two parts, one is to fetch the available endpoint (or upstream), and the other is to report the node access results (whether the timeout? or connecttion status?) In the nginx framework, the report node state is more recommended in the log phase, whereas Apache APISIX currently reports the last access result when fetching an available endpoint in the balancer phase. Personally, I think it should be moved to the log phase.  ### Environment * apisix version (cmd: `apisix version`): * OS: ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
