[SERVER-57830] Delete files from storage directory for FileBasedInitialSync Created: 17/Jun/21 Updated: 29/Oct/23 Resolved: 30/Sep/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Matthew Russotto | Assignee: | Moustafa Maher |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | pm-1897-M2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2021-10-04 | ||||||||
| Participants: | |||||||||
| 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. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 05/Oct/21 ] |
|
Author: {'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}Message: |
| Comment by Githook User [ 30/Sep/21 ] |
|
Author: {'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}Message: |