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

remove DBDirectClient reference from ShardLocal::createIndexOnConfig

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Storage
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: