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

Incorrect initialization order in WiredTigerKVEngine

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.3.1
    • 3.2.4, 3.3.3
    • WiredTiger
    • Fully Compatible
    • ALL
    • Integration 10 (02/22/16)
    • 0

    Description

      In the WiredTigerKVEngine, an incorrect initialization order of private fields can lead to a race condition at shutdown. The KVEngine's SizeStorer is depended on by the JournalFlusher and so should be initialized beforehand to get the proper destruction order on shutdown.

      In addition, shutdown calls for components of the KVEngine in WiredTigerKVEngine::cleanShutdown() should be reordered to match the actual order of destruction.

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: