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/27 03:04:17 UTC

[GitHub] [apisix] tokers commented on issue #2520: bug: "failed to acquire the lock: timeout" in logs/error.log when setuping route at the first time

tokers commented on issue #2520:
URL: https://github.com/apache/apisix/issues/2520#issuecomment-716948018


   It seems that when check the schema of Routes, APISIX tries to fetch the schema firstly and compile it, the compilation result will be cached inside a LRU cache. The schema creation is exclusive by a Lock. But the creation is totally compution and without IO operations, the default timeout for lock:lock is 5s, which is almost impossible to be timed out.
   
   @membphis 


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