-
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
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.
- is duplicated by
-
NXDRIVE-1335 Do not use temporary file when downloading a small document
- Resolved
- is related to
-
NXBT-2491 Create a random file generator
- Resolved
-
NXDRIVE-403 HIde temp file from the user
- Resolved