Firstsawyou commented on a change in pull request #3842:
URL: https://github.com/apache/apisix/pull/3842#discussion_r595772958



##########
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 api_ctx.upstream_id then
+        up_id = api_ctx.upstream_id
+        api_ctx.upstream_id = nil

Review comment:
       Yes, we can choose not to delete it.




----------------------------------------------------------------
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]


Reply via email to