In SERVER-44391, we started retaining temporary files in the data directory when starting up after a clean shutdown. This was done so that we could resume index builds that depended on the temporary files to reconstruct the external sorter state. If we failed to resume the index builds successfully during startup, there is a possibility that these temporary files will not be cleaned up on subsequent server restarts. In 4.4, we would always remove these temporary files regardless of the previous shutdown state.
- is related to
-
SERVER-44391 Refine startup cleanup of tmpfiles for resumable index builds
- Closed