Delete files from storage directory for FileBasedInitialSync

XMLWordPrintableJSON

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

      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:
              Moustafa Maher
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: