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

Delete files from storage directory for FileBasedInitialSync

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Repl 2021-10-04

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: