[SERVER-44391] Refine startup cleanup of tmpfiles for resumable index builds Created: 04/Nov/19  Updated: 29/Oct/23  Resolved: 25/Jun/20

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-50711 Temporary files not removed when star... Closed
related to SERVER-48417 adjust startup to resume index build ... Closed
is related to SERVER-33159 RTT storage recovery from unclean shu... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-29
Participants:

 Description   

Because we need to preserve tmp files in order to resume index builds on startup, we need to modify the cleanup behavior such that only unclean shutdowns result in clearing out the tmp files. It is a safe assumption that no temp files will be left behind if the server shuts down cleanly.



 Comments   
Comment by Githook User [ 25/Jun/20 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-44391 Preserve internal tables and temporary files when starting up after a clean shutdown
Branch: master
https://github.com/mongodb/mongo/commit/08b190379bc7a93fe8ea4c0051eb00520335ff46

Comment by Benety Goh [ 25/Jun/20 ]

This work uses a decorator startingAfterUncleanShutdown introduced in SERVER-33159.

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