spacewander commented on issue #5935:
URL: https://github.com/apache/apisix/issues/5935#issuecomment-1001403983


   Only when the upstream is a part of a route, the 
`upstream.healthcheck_parent` will be route.
   In this case, changing the nodes is equal to changing the route.
   
   If the upstream doesn't belong to a route, its parent will be itself. See 
https://github.com/apache/apisix/blob/db5813ff9ac2e77960af6c6ac3072eccee2057c7/apisix/upstream.lua#L501
   
https://github.com/apache/apisix/blob/db5813ff9ac2e77960af6c6ac3072eccee2057c7/apisix/upstream.lua#L447


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