-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: 6.0.0
-
Component/s: None
-
None
-
Server Security
-
Server Security 2025-04-14
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
AuthorizationSessionTestFixture inherits from ServiceContextMongodTest. The ServiceContextMongodTest constructor runs first and launches a separate thread for the JournalFlusher. The AuthorizationSessionTestFixture::setup() implementation runs after that and resets the AuthorizationManager to a separate instance. This can cause race conditions which result in transient failures.
We should avoid resetting AuthorizationManager altogether in AuthorizationSessionTestFixture. If we have to, then we should ensure that the JournalFlusher is not started until the authorization manager has been fully reset.
- duplicates
-
SERVER-79138 Fix data race in AuthorizationSessionTest fixture
-
- Closed
-