-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
Fully Compatible
-
ALL
-
v5.0
-
Service Arch 2021-06-14
-
69
TheĀ OpMsgFuzzerFixture resets the AuthorizationManager, which is a decoration on ServiceContext, after starting storage controls (i.e., startStorageControls). Starting the storage control enqueues a periodic task (i.e., JournalFlusher) that may attempt to access the AuthorizationManager, causing a data-race.
We should reset the AuthorizationManager immediately after creating the new instance of ServiceContext (here) to avoid the data-race.