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

Address TSAN issues in unit tests explicitly calling AM->setAuthEnabled()

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • ALL
    • v8.0
    • Security 2024-09-02
    • 200

      SERVER-92037 incorrectly masked TSAN failures in one or more of the following tests. While that commit is being reverted, investigate any test calling AuthorizationManager->setAuthEnabled(...) to be certain that it does so in a concurrent-safe manner.

      src/mongo/db/auth/authorization_manager_test.cpp
      src/mongo/db/auth/authorization_session_test.cpp
      src/mongo/db/auth/authorization_session_test.cpp
      src/mongo/db/auth/validated_tenancy_scope_test.cpp
      src/mongo/db/modules/enterprise/src/magic_restore/magic_restore_test.cpp
      src/mongo/db/op_msg_fuzzer_fixture.cpp
      src/mongo/db/service_context_d_test_fixture.cpp
      src/mongo/db/session/logical_session_id_test.cpp
      src/mongo/db/commands_test.cpp
      src/mongo/dbtests/dbtests.cpp
      src/mongo/rpc/op_msg_test.cpp 

       

            Assignee:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: