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

Race condition in installer: cached artifacts might be made unavailable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Installer Core 3.6.8
    • Installer
    • None

    Description

      If a provider is reporting new artifacts and these artifacts need to be copied into the local storage (like JCR artifacts), there is a slight change that while the OSGi installer is processing the new artifacts, the same provider is updating the artifacts which then results in a null stored in the internal data objects for the file, although it is still available. The artifact can't be installed anymore as the file is not available.
      This is due to the logic in FileDataStore#createNewDataFile which returns null if the file is already cached.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: