spacewander commented on a change in pull request #3842:
URL: https://github.com/apache/apisix/pull/3842#discussion_r595644809
##########
File path: apisix/init.lua
##########
@@ -387,6 +387,13 @@ function _M.http_access_phase()
end
local up_id = route.value.upstream_id
+
+ -- used for the traffic-split plugin
+ if route.value.upstream_id_tmp then
Review comment:
Maybe we can set & use `ctx.upstream_id` directly. No more modification
to the route.
----------------------------------------------------------------
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]