FTDCMetricsCollectorMockTee needs to guard _counter

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • ALL
    • Security 2020-06-29
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      FTDCMetricsCollectorMockTee in src/mongo/db/ftdc/controller_test.cpp needs to guard writes to _counter with _mutex in order to ensure writes are observed between threads.

              Assignee:
              Mina Mahmood (Inactive)
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: