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

Use DBDirectClient instead of the IndexBuildCoordinator to create indexes

    XMLWordPrintableJSON

Details

    • Catalog and Routing
    • 2

    Description

      After SERVER-62805 the create indexes helper we use to create indexes in config collections was moved to sharding_util.cpp. It previously used a somehow manual implementation of createIndex. We could make this code easier to read if we use DBDirectClient. Investigate if we can actually use DBDirectClient in the context's where the indexes are being created, if so, change the implementation to use DBDirectClient.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: