It's possible for TemporaryKVRecordStore::finalizeTemporaryTable() to throw a WriteConflictException and for the MultiIndexBlock to retry. However, because the _recordStoreHasBeenFinalized flag does not get reset, a second attempt to calling TemporaryKVRecordStore::finalizeTemporaryTable() will invariant.
- related to
-
SERVER-57231 [ephemeralForTest] index build cleanup fails with invariant if WUOW throws WCE at commit time
- Closed
-
SERVER-58357 [ephemeralForTest] TemporaryKVRecordStore fails to register commit handler in WCE loop
- Closed
-
SERVER-50956 Test resuming larger index builds that spill to disk during collection scan
- Closed