Firstsawyou opened a new issue #3826: URL: https://github.com/apache/apisix/issues/3826
### Issue description Prerequisite: `route_name`(my-route) is configured in `route`, `service_name`(my-service) is configured in `service`, route_name is different from service_name, and `service` is bound to `route` . Bug: In the plug-in, output `ctx` through core.log.warn(core.json.encode(ctx, true)), and found that ctx.route_name is the same as ctx.service_name, and the value is `my-service`. Reason: During the `merge_service_route` operation, the `route_name` was not merged, resulting in the route_name and service_name being the same. For details, please see the following code snippet: https://github.com/apache/apisix/blob/master/apisix/plugin.lua#L385-L421 https://github.com/apache/apisix/blob/master/apisix/init.lua#L342-L360 I think route_name and service_name should keep their respective values, they should be different. ---------------------------------------------------------------- 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: us...@infra.apache.org