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

Incorrect initialization order in WiredTigerKVEngine

    • Fully Compatible
    • ALL
    • Integration 10 (02/22/16)
    • 0

      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.

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

              Created:
              Updated:
              Resolved: