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

Force write of file to disk

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.4
    • Component/s: Framework
    • Tags:
    • Sprint:
      nxDrive 11.1.10, nxDrive 11.1.11
    • Story Points:
      1

      Description

      An interesting improvement to help stabilizing the sync and testing would be to manually call os.fsync(fd) when saving a file to the hard drive. As stated in the doc, we should also call fd.flush() first.

      It will ensure the file is actually written to the disk, which is quite something for Drive.

        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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h