Details
Description
Currently, reconstructPreparedTransactions() fasserts that there was no error while applying operations. However, in initial sync, we allow the opCtx to be interrupted while we are calling reconstructPreparedTransactions(). As a result, we may fassert if we kill a session during execution of that function. We should ensure that we do not fassert due to interrupts. This can potentially be done with runWithoutInterruptionExceptAtGlobalShutdown or setKillOpsExempt.