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

Remove IndexBuilder in favor of IndexBuildsCoordinator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2019-12-02

    Description

      We still use the IndexBuilder to build indexes in the foreground thread in applyOps. This is currently only used when creating indexes with applyOps on a primary or when rebuilding indexes during replication recovery.

      We have too many duplicated implementations of index building and removing this class entirely would help to prevent diverging logic.

      The functionality can be entirely replaced by using the IndexBuildsCoordinator and waiting for the future, similar to what we do in create_indexes.cpp.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: