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

Fix data race between acquireOplogCollectionForLogging and initializeStorageControlsForReplication

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • 35

      TSAN found a data race in https://jira.mongodb.org/browse/BF-26306

      It can be addressed by initializing the oplog collection pointer before the thread reading it is spawned instead of just after.

            Assignee:
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Reporter:
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: