Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62680

validate cachedir make local tmp to ensure successful copy

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.3.0, 5.2.1, 5.0.7
    • None
    • None
    • None
    • Fully Compatible
    • v5.2, v5.0
    • Dev Platform 2022-01-24
    • 9

    Description

      In BF-21589, it was found that the cache file was being removed from the remote server while the file was being copied locally. This resulting in stale file handle exception from the cachedir, however the file was partially copied and in a bad state.

      We opt for copying into a local tmp location and moving the tmp destination into the real destination only if the copy successfully complete.s

      Attachments

        Activity

          People

            daniel.moody@mongodb.com Daniel Moody
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: