-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
Fully Compatible
-
ALL
-
v4.2, v4.0
-
Repl 2019-09-09
Currently, CollectionBulkLoaderImpl uses CollectionBulkLoaderImpl::_runTaskReleaseResourcesOnFailure() to wrap function calls into other components such as the MultiIndexBlock index builder component. CollectionBulkLoaderImpl::_runTaskReleaseResourcesOnFailure() assumes no exceptions will reach its top level, since it catches all exceptions and immediately calls std::terminate() when they are caught.
Since some MultiIndexBlock functions can uassert, I believe we ought to convert exceptions into Statuses either in CollectionBulkLoaderImpl at its call sites, or within the MultiIndexBlock functions themselves.
- related to
-
SERVER-50956 Test resuming larger index builds that spill to disk during collection scan
- Closed