Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16746

Make FileEventTracker safer

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Infrastructure

      Description

      For optimization reasons some file initially created as temporary ends up being moved directly to the BinaryManager (to avoid re-copy).

      Unfortunately, since temporary files are traked for deletion it can create bad side effects like deleting files in the BinaryManager (see NXP-16745)

      We can not simply make the FileEventTracker aware about the BinaryManager simply because of the dependency issue (nuxeo-common can not depend on anything inside the platform).

      As a workaround, we can have the FileEventTracker expose an API to register "protected paths"

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: