wklken commented on issue #12436:
URL: https://github.com/apache/apisix/issues/12436#issuecomment-3083266354

   @Baoyuantop 
   
   I found the log below, during `create_radixtree_uri_router` it insert the 
route with `original_nodes`
   
   it means while rebuild the radixtree, it's the wrong 
`route.value.update.modes`.
   
   - change the ip of `route.upstream.nodes[1]` and at the same time trigger 
the radixtree rebuilding
   
   ```
   2025/07/16 09:28:43 [info] 6290#6290: *503710 [lua] route.lua:73: 
create_radixtree_uri_router(): insert uri route: 
{"timeout":{"send":30,"connect":30,"read":30},"desc":"Returns anything passed 
in request 
data.","name":"apigw-prod-anything-get","labels":{"gateway.bk.tencent.com/stage":"prod","gateway.bk.tencent.com/gateway":"apigw"},"update_time":1752566944,"plugins":{"bk-proxy-rewrite":{"match_subpath":false,"uri":"/anything","subpath_param_name":":ext","method":"GET","use_real_request_uri_unsafe":false},"bk-resource-context":{"bk_resource_name":"anything_get","bk_resource_id":2347,"bk_resource_auth":{"verified_user_required":false,"resource_perm_required":false,"skip_user_verification":false,"verified_app_required":false},"bk_resource_auth_obj":{"verified_user_required":false,"resource_perm_required":false,"skip_user_verification":false,"verified_app_required":false}}},"uris":["/api/apigw/prod/anything","/api/apigw/prod/anything/"],"upstream":{"timeout":{"send":30,"connect":30,"r
 
ead":30},"hash_on":"vars","type":"roundrobin","parent":{"update_count":0,"modifiedIndex":5360,"orig_modifiedIndex":5360,"clean_handlers":{},"createdIndex":5360,"has_domain":true,"key":"/bk-gateway-apisix/routes/apigw.prod.2347","value":{"timeout":"table:
 0x7f119b810600","desc":"Returns anything passed in request 
data.","name":"apigw-prod-anything-get","labels":"table: 
0x7f119b8105b8","update_time":1752566944,"plugins":"table: 
0x7f119b810840","uris":"table: 0x7f119b8107b0","upstream":"table: 
0x7f119b810bf0","status":1,"id":"apigw.prod.2347","service_id":"apigw.prod.stage-4","priority":0,"methods":["GET"],"create_time":1752566944}},"original_nodes":[{"weight":100,"host":"10.105.226.135","domain":"httpbin","priority":1,"upstream_host":"httpbin","port":80}],"nodes":"table:
 0x7f11693587e0","pass_host":"node","scheme":"http","nodes_ref":"table: 
0x7f11693587e0"},"status":1,"id":"apigw.prod.2347","service_id":"apigw.prod.stage-4","priority":0,"methods":"table:
 0x7f119b8107f8","create_time":
 1752566944}, client: 10.1.0.1, server: _, request: "GET /healthz HTTP/1.1", 
host: "10.1.1.1:6006"
   ```
   
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to