When we fail to resume an index build, we remove the Sorter temporary files saved from the previous shutdown. However, if the index build was interrupted during the drain phase, we do not retain the Sorter temporary files or persist the filenames in the internal idents containing the resumable information for the interrupted index build. This may result in the cleanup code dereferencing an uninitialized boost::optional IndexSorterInfo::fileName field.
- is related to
-
SERVER-50431 Clean up persisted Sorter state if resuming index build fails
- Closed