remove DBDirectClient reference from ShardLocal::createIndexOnConfig

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2019-11-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

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

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: