-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
When a two-phase index build is torn down and the node is no longer primary, we remove the durable catalog entry using a ghost timestamp. This works, because this ghost write is always rolled back.
We should leave the index build unfinished it is aborted due to rollback or local failure. By "local failure", I am referring to the case where an index build fails on a secondary, but not from an explicit abortIndexBuild oplog entry.
- duplicates
-
SERVER-44778 Two-phase index builds aborted due to rollback should leave the index unfinished in the catalog
- Closed