aborting an index build during initial sync can do an untimestamped write

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: