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

   Sorry, now I can get your point.
   
   However, when a new node is added, the upstream conf_version will increase, 
and require to create a new balancer due to lrucache miss:
   
   
https://github.com/apache/apisix/blob/8e1a1fd10ab55891f63f15f0ded3df88ad6f44bd/apisix/upstream.lua#L290-L294
   
   
https://github.com/apache/apisix/blob/8e1a1fd10ab55891f63f15f0ded3df88ad6f44bd/apisix/balancer.lua#L240
   
   
   Currently, there is no way to get the previous upstream conf and the its 
cached data.


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