You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/19 03:24:12 UTC

[GitHub] [apisix] haifeng9414 commented on issue #2369: bug: Unable to get the latest upstream node list by service discovery

haifeng9414 commented on issue #2369:
URL: https://github.com/apache/apisix/issues/2369#issuecomment-711489603


   > Adding `up_version` is a good solution.
   
   I don’t know how to determine the up_version. Eureka does not have this attribute. Although the data of consul has `ModifyIndex`, my consul-template solution cannot get `ModifyIndex` of the data. In order to avoid this problem first, I used the string formed by the service ip list as up_version. 
   
   Is there a better solution, or let the implementation of service discovery be responsible for invalidating the server_picker cache?


----------------------------------------------------------------
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:
users@infra.apache.org