Details
-
Bug
-
Resolution: Fixed
-
Critical
-
15.8-rc-1
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce:
Trigger a huge number of rendering errors (in parallel).
Expected result:
The requests complete quickly.
Actual result:
Errors like
org.infinispan.util.concurrent.TimeoutException: ISPN000299: Unable to acquire lock after 60 seconds for key environment:/templates/xwikirenderingerror/rendering.macro.error.failed.vm and requestor CommandInvocation:<local>:9615112. Lock is held by CommandInvocation:<local>:9615111
appear. This is because the code removes non-existing templates from the cache regardless if they ever existed.