Fix data race between acquireOplogCollectionForLogging and initializeStorageControlsForReplication

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Frederic Vitzikam (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: