[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: |
|
||||||||||||||||
| 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: |
| Comment by Benety Goh [ 25/Jun/20 ] |
|
This work uses a decorator startingAfterUncleanShutdown introduced in |