-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
Fully Compatible
-
ALL
-
Storage Execution 2026-02-16
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When primary steps down, if it has to rollback, it stops all active index builds by calling stopIndexBuildsForRollback. Unlike handling kOplogAbort, in which a secondary is told to abort and clean up the index build; for kRollbackAbort we take care to preserve the state by calling abortIndexBuildWithoutCleanup. After rollback we'll restart or resume the index builds. This can potentially lead to problems since I suspect it will start a hybrid index build on a secondary.
- fixes
-
SERVER-117187 Investigate why the index build wasn't aborted in restart_primary_driven_index_build_if_interrupted_by_shutdown.js
-
- Closed
-
- related to
-
SERVER-111936 Investigate whether primary checking logic is sound in _buildPrimaryDrivenIndex()
-
- Closed
-