Synchronize access to _shuttingDown in WiredTigerOplogManager

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: