You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2011/01/05 10:29:45 UTC
[jira] Created: (SLING-1918) Use time based folder structure for
jobs without an id
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.
[jira] Closed: (SLING-1918) Use time based folder structure for
jobs without an id
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1918.
-----------------------------------
> 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.
[jira] Resolved: (SLING-1918) Use time based folder structure for
jobs without an id
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-1918.
-------------------------------------
Resolution: Fixed
Changed the folder structure and added clean up tasks in revision 1055496 and 1055500
> 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.