haifeng9414 commented on issue #2369: URL: https://github.com/apache/apisix/issues/2369#issuecomment-712569046
Both the configuration and the ip address of the upstream should affect the cache of healthchecker and server-picker. If use table as the cache version, how to know the configuration of the upstream has changed? I think we can maintain the ip list for each upstream in the service discovery, and use a number to indicate the version of the upstream. When the upstream ip changes, the number will increase, and it will be used as part of the current cache version , this will not make the cache version too long ---------------------------------------------------------------- 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