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

Delete files from storage directory for FileBasedInitialSync

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Repl 2021-10-04

      We should delete both the files we determined needed to be deleted from the backup cursor ( _syncingFilesState.oldStorageFilesToBeDeleted (vector<std::string>)), and any fixed-name files here.

      Note the actual deletion will end up needing to be done both from startup and from the initialsyncer, so it should be done in a separate class. That separate class doesn't require backup cursors so may be in the Community Server.

            Assignee:
            m.maher@mongodb.com Moustafa Maher
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: