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/09/25 08:09:47 UTC

[GitHub] [apisix] MrJLuo opened a new issue #2314: request help: how to renew healthy-checke lrucache

MrJLuo opened a new issue #2314:
URL: https://github.com/apache/apisix/issues/2314


   ### Issue description
   I found that only when the worker is started for the first time (or after lrucache_checker times out), will the checker be created and the latest node information will be written to the cache; when the registry information changes, lrucache_checker cannot detect and update the cache, only reload or wait The cache will not be updated until the lrucache_checker cache expires.
   How can we solve this problem?
   
   ### Environment
   centos7.2
   
   * apisix version (cmd: `apisix version`):apisix v1.5
   * OS:linux
   


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



[GitHub] [apisix] membphis commented on issue #2314: request help: how to renew healthy-checke lrucache

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2314:
URL: https://github.com/apache/apisix/issues/2314#issuecomment-704003733


   > when the registry information changes, lrucache_checker cannot detect and update the cache, 
   
   if the registration information changes, the old lrucache_checker will be removed automatically. here is the source code line:
   
   https://github.com/apache/apisix/blob/master/apisix/core/config_etcd.lua#L196
   
   if the old lrucache_checker was not removed automatically when the registration information changes, it should be a bug.


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



[GitHub] [apisix] spacewander closed issue #2314: request help: how to renew healthy-checke lrucache

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #2314:
URL: https://github.com/apache/apisix/issues/2314


   


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