Fix data race in AuthorizationSessionTestFixture

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • Security 2024-02-05, Security 2024-02-19
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      There's a data race on the AuthorizationManagerImpl::_authEnabled flag when AuthorizationSessionTestFixture::setUp() calls authzManager->setAuthEnabled(true); while the JournalFlusher thread reads the boolean through isAuthEnabled().

      See linked BF for TSAN stack traces.

            Assignee:
            Erwin Pe
            Reporter:
            Erwin Pe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: