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

DBConfig needs to lock mutex whenever accessing _primaryId or _shardingEnabled

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • 3.3.0
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2016-08-29

    Description

      There are places where DBConfig::_lock mutex is held while reading/modifying these members and there are methods that just reference them without holding the mutex.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: