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

remove DBDirectClient reference from ShardLocal::createIndexOnConfig

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Storage
    • None
    • Fully Compatible
    • Execution Team 2019-11-18

    Description

      ShardLocal::createIndexOnConfig is called during primary step up as part of the config database initialization. Assuming that the config collection is always empty when this function is called, we should be able to replace this reference to DBDirectClient() with one of the new index creation helpers introduced in SERVER-43697. This will also eliminate another case where we build an index through the IndexBuildsCoordinator interface synchronously (SERVER-44436).

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: