This is an automated email from the ASF dual-hosted git repository.
moonming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 62da25da42 fix(radixtree_host_uri): add route id to service-fetch
failure log (#13723)
62da25da42 is described below
commit 62da25da42ca5b2dad4878f3700a13babeba13a7
Author: AlinsRan <[email protected]>
AuthorDate: Wed Nov 11 10:27:51 2026 +0800
fix(radixtree_host_uri): add route id to service-fetch failure log (#13723)
---
apisix/http/router/radixtree_host_uri.lua | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/apisix/http/router/radixtree_host_uri.lua
b/apisix/http/router/radixtree_host_uri.lua
index 680a04fbe8..2699d402c4 100644
--- a/apisix/http/router/radixtree_host_uri.lua
+++ b/apisix/http/router/radixtree_host_uri.lua
@@ -61,7 +61,8 @@ local function push_host_router(route, host_routes,
only_uri_routes)
local service = service_fetch(route.value.service_id)
if not service then
core.log.error("failed to fetch service configuration by ",
- "id: ", route.value.service_id)
+ "id: ", route.value.service_id,
+ " route id: ", route.value.id)
-- we keep the behavior that missing service won't affect the
route matching
else
hosts = service.value.hosts