Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-65087

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.0-rc0
    • None
    • Fully Compatible
    • Execution Team 2022-05-02, Execution Team 2022-05-16, Execution Team 2022-05-30

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              yuhong.zhang@mongodb.com Yuhong Zhang
              yuhong.zhang@mongodb.com Yuhong Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: