Audit the usage of foreground index builds through IndexBuildsCoordinator::createIndex()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Execution Team 2022-05-02, Execution Team 2022-05-16, Execution Team 2022-05-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We start a foreground index build through IndexBuildsCoordinator::createIndex() at a couple places (example1, example2). The index builds done through this interface have been ignoring any constraint violations until SERVER-65024 which fixes the duplicate key issues. We should investigate if we can get rid of this code path.

      Otherwise, we should add test coverage for it (e.g. on collections with index constraint violations).

            Assignee:
            Yuhong Zhang
            Reporter:
            Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: