You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2024/07/26 18:10:00 UTC
[jira] [Created] (SLING-12393) Warn on excessive use of JobExecutionContext.log(...)
Joerg Hoh created SLING-12393:
---------------------------------
Summary: Warn on excessive use of JobExecutionContext.log(...)
Key: SLING-12393
URL: https://issues.apache.org/jira/browse/SLING-12393
Project: Sling
Issue Type: Improvement
Components: Event
Reporter: Joerg Hoh
On every call of JobExecutionContext.log() a new array element is added to the "slingevent:progressLog" property of a Job. This array is persisted as multi-value propery in the underlying repository.
In an Oak-based repository having large multi-value properties can cause performance problems on various levels (indexing, read/write performance); for that reason the Job implementation should log a warning when more than 1000 statements are logged on the Job.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)