Use time based folder structure for jobs without an id
------------------------------------------------------
Key: SLING-1918
URL: https://issues.apache.org/jira/browse/SLING-1918
Project: Sling
Issue Type: New Feature
Components: Extensions
Affects Versions: Extensions Event 2.4.2
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Extensions Event 3.0.0
Currently jobs without an job id are stored in an artifical folder structure
(to avoid a too large flat hierarchy) - this folder structure is created
randomly by generating uuid. To avoid concurrency problems in a clustered
environment, these folders are never deleted - resulting in a large empty
folder structure
We could use a time based folder structure instead and create a new folder
every minute - once this folder gets empty and another minute has started we
can safely remove the folder.
In addition if we include the sling id in the folder name, we avoid folder
creation problems in a clustered environment.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.