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

validate cachedir make local tmp to ensure successful copy

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0, 5.2.1, 5.0.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v5.2, v5.0
    • Dev Platform 2022-01-24
    • 9

      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

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

              Created:
              Updated:
              Resolved: