[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:
Depends
depends on SERVER-57826 Read local backup cursor and write li... Closed
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: SERVER-57830 Delete files from storage directory for FileBasedInitialSync
Branch: fausto.leyva/SERVER-57826
https://github.com/10gen/mongo-enterprise-modules/commit/90d9f3b490592f367790a1181c255f9595dfb90e

Comment by Githook User [ 30/Sep/21 ]

Author:

{'name': 'moustafamaher', 'email': 'm.maher@mongodb.com', 'username': 'moustafamaher'}

Message: SERVER-57830 Delete files from storage directory for FileBasedInitialSync
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/90d9f3b490592f367790a1181c255f9595dfb90e

Generated at Thu Feb 08 05:42:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.