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

Synchronize access to _shuttingDown in WiredTigerOplogManager

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • ALL
    • Execution Team 2019-10-21
    • 17

    Description

      The value of _shuttingDown decides the validity of oplogRecordStore pointer: when _shuttingDown is true, oplogRecordStore is very likely (there is a small window) to be destroyed. However, we don't have any mutex to protect _shuttingDown here. It's possible that _shuttingDown gets set to true while this expression is being evaluated.

      Attachments

        Activity

          People

            evgeni.dobranov@mongodb.com Evgeni Dobranov
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: