Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1219

Use a dedicated temporary folder for downloads

    XMLWordPrintable

    Details

    • Type: Epic
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 4.1.4
    • Component/s: Remote watcher
    • Tags:
    • Sprint:
      nxDrive 10.3.6, nxDrive 11.1.11
    • Story Points:
      3
    • Completion Level (0 to 5):
      5

      Description

      Currently, we are downloading files into a temporary hidden file.
      It is causing a lot of false FS events, generating significative noise, thus complexifying the synchronization.

      We could use a dedicated temporary folder that will be outside of any sync roots.

      To generate less noise while downloading a file, we will introduce a new integer option: tmp_file_limit (defaults to 10, file size in MiB). Files lighter than this limit will be written at once to the file rather than chunk by chunk.

      Benefits:

      • no more false FS events;
      • no more temporary .nxpart files;
      • files smaller than tmp_file_limit will be downloaded in one go in-memory, reducing disk I/O.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 1 hour
                  3d 1h

                    PagerDuty