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

Provide option to include sling instance id nodes in cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Event 4.3.2
    • Event
    • None

    Description

      Currently, empty nodes for Sling job handling are removed, up to the JCR node specific to a Sling instance id. That node is kept in place to avoid unnecessary removal and recreation.
      This assumes that the instances are stable and do not frequently change.

      However, in volatile installations where new instances are constantly created (and old ones stopped), this leads to a growing number of nodes for each id ever started.

      One way would be to provide a "idle timeout" configuration - for an instance id it is recorded when it was first not seen anymore and if it is not seen for the configured time, these nodes get removed. For example, if the timeout is set to one day, such nodes are removed approximately one day after the instance was stopped.
      There are probably other ways to fix this

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h