You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/12/08 14:03:00 UTC
[jira] [Created] (SLING-7291) HTL to Java compilation might fail
under heavy load
Radu Cotescu created SLING-7291:
-----------------------------------
Summary: HTL to Java compilation might fail under heavy load
Key: SLING-7291
URL: https://issues.apache.org/jira/browse/SLING-7291
Project: Sling
Issue Type: Bug
Components: Scripting
Affects Versions: Scripting HTL Engine 1.0.20
Reporter: Radu Cotescu
Assignee: Radu Cotescu
Priority: Minor
Fix For: Scripting HTL Engine 1.0.46
When there's a high number of concurrent threads accessing the same HTL script that needs to be compiled, compilation might fail since these threads try to write to the same file-system based file.
In the end the script will be compiled correctly since the HTL engine will retry the operation until a valid Java class is generated, however this should be avoided with a simple locking mechanism.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)