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

Use memory_order_acquire in Future wait loop

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platforms 2018-03-26

      TSAN indicated that our assumption that the mutex locking to establish a synchronizes-with relationship was insufficient in some cases. Using memory_order_acquire on the load() is required.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: