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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • 160

    Description

      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.

      Attachments

        Activity

          People

            xuerui.fa@mongodb.com Xuerui Fa
            xuerui.fa@mongodb.com Xuerui Fa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: