whl739 commented on issue #2954: URL: https://github.com/apache/apisix/issues/2954#issuecomment-738694675
There's another issue here, ctx.var will cache the result, see case: if upstream fails, balancer phase will enter multi times, a balancer algorithm may want to update upstream status(e.g. response time), but `ctx.var.upstream_xxx`'s value is the first one. ---------------------------------------------------------------- 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]
