Ensure server parameters RAII types are not destructed before health log executes

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • 160
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We're seeing sanitizer failures when we attempt to access a server parameter in oplog applier unit tests. This is because tests that use an RAII type to set a server parameter may destruct that server parameter before another thread attempts to use it. We should create a way to ensure that these server parameters are not destructed before they're used in these C++ tests.

            Assignee:
            Xuerui Fa
            Reporter:
            Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: