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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/03 15:13:54 UTC

[jira] [Resolved] (SLING-2402) The file data store is not synchronized

     [ https://issues.apache.org/jira/browse/SLING-2402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2402.
-------------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: Installer Core 3.3.6)

Rethinking this, the data store is synced in general and this is really an edge use
cases. The exact same artifact has to be provided directly again after it has been
removed. The time window is very small as well.
As I want to avoid rewriting the data store i'll close this as wont fix and fix the
test instead.
                
> The file data store is not synchronized
> ---------------------------------------
>
>                 Key: SLING-2402
>                 URL: https://issues.apache.org/jira/browse/SLING-2402
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Core 3.3.2, Installer Core 3.3.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>
> The current file data store is only partially synchronized. As sometimes can be seen in the BundleInstallUpgradeDowngradeTest#testRemoveAndReadd test:
> 1. a resource is added, copied into the file data store
> 2. this gets removed again
> 3. before it is finally removed, the same resource is added again
> 4. the file data store still has the pointer to the old file as it is unchanged and uses that
> 5. The file gets removed from the data store due to 2.
> 6. The resource from 3. is tried to be transformed, file is not available anymore -> failure

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira