-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
ALL
-
Execution Team 2022-10-17, Execution Team 2022-10-31, Execution Team 2022-11-14, Execution Team 2022-12-12, Execution Team 2022-11-28, Execution Team 2023-01-09, Execution Team 2023-01-23
-
25
If we get a BackgroundOperationInProgress error while building indexes on a collection during initial sync, we will abort all in progress builds on that collection. However, the abort makes an untimestamped write, which causes the server to fassert.
This error should only happen if we've received a conflicting DDL operation on the collection. Since these operations are applied in their own batch (i.e. creating a batch size of 1), if should be safe for us to timestamp the abortIndexBuild write at the ts of the conflicting operation.