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

InitialSyncFileMover must handle symlinks at top level of destination directory

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Replication 2021-11-15

    Description

      Currently, InitialSyncFileMover assumes all existing files are regular files or directories; if one is a symlink we get an invariant. We sometimes create a symlink to put the WiredTiger journal files on another device. This means we must support some of the files to delete containing a symlink at the top level of their path. We must preserve that symlink, so files with the same relative path from the sync source go into the symlink destination directory.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: