Load extensions earlier in mongod/mongos main

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      TSAN caught two data races during startup between extensions' parserMap override and other startup tasks:

      • mongod_main: The FTDC background thread is concurrently accessing the parserMap
      • mongos_main: The CatalogCacheLoader issues an aggregation that can cause a concurrent access to the parserMap

      These data races can be resolved by loading extensions before any of those tasks is kicked off.

              Assignee:
              Lynne Wang
              Reporter:
              Lynne Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: