Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1918

Use time based folder structure for jobs without an id

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Event 2.4.2
    • Event 3.0.0
    • Extensions
    • None

    Description

      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.

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: