[
https://issues.apache.org/jira/browse/SLING-5591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15185104#comment-15185104
]
Bertrand Delacretaz commented on SLING-5591:
--------------------------------------------
If someone else is curious how this was fixed it's
http://svn.apache.org/r1734096
> Race condition in installer: cached artifacts might be made unavailable
> -----------------------------------------------------------------------
>
> Key: SLING-5591
> URL: https://issues.apache.org/jira/browse/SLING-5591
> Project: Sling
> Issue Type: Bug
> Components: Installer
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Installer Core 3.6.8
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)