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

Synchronize access to _shuttingDown in WiredTigerOplogManager

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • ALL
    • Execution Team 2019-10-21
    • 17

      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.

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

              Created:
              Updated:
              Resolved: