You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "xywang0471 (via GitHub)" <gi...@apache.org> on 2023/04/20 10:38:30 UTC

[GitHub] [apisix] xywang0471 commented on issue #9049: help request: Decoupled deployment mode DP module cannot get the latest routing and upstream information

xywang0471 commented on issue #9049:
URL: https://github.com/apache/apisix/issues/9049#issuecomment-1516103383

   @kingluo 我这里使用的是2.15版本,我的问题是upstream中的node列表更新后,apisix使用的还是旧的node列表。我读了源码后发现这里可能是个问题。图中 server_picker 使用了 lrucache 缓存,key 的版本号是route的modifiedIndex,这就会导致在route没有更新,但upstream的node列表更新了不能及时同步。
   ![image](https://user-images.githubusercontent.com/32950283/233338761-dcfff633-0543-4f37-8b7b-7597fa7221fb.png)
   ![image](https://user-images.githubusercontent.com/32950283/233341244-a0f27b83-fac6-4849-8948-9c43b4d6e52d.png)
   ![image](https://user-images.githubusercontent.com/32950283/233341394-2f176c7c-5102-4ded-b973-5fd5849ec423.png)
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org