Sling
  1. Sling
  2. SLING-2402

The file data store is not synchronized

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: Installer Core 3.3.2, Installer Core 3.3.4
    • Fix Version/s: None
    • Component/s: Installer
    • Labels:
      None

      Description

      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

        Activity

        Hide
        Carsten Ziegeler added a comment -

        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.

        Show
        Carsten Ziegeler added a comment - 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.

          People

          • Assignee:
            Carsten Ziegeler
            Reporter:
            Carsten Ziegeler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development