-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Replication
-
ALL
-
Repl 2024-03-18
-
None
-
None
-
None
-
None
-
None
-
None
-
None
During ReplicationCoordinatorImpl startup, we initialize the LocalOplogInfo oplog collection by calling acquireOplogForLogging
This acquires an IX lock on the oplog collection, and oplogInfo itself is not protected at all. Thus a simultaneous call which reads the oplogInfo pointer with only an IS global lock can cause a data race.
Possibly we should acquire global X here, as the catalog code does when it uses the similar establishOplogForLogging().
- duplicates
-
SERVER-87390 Fix race condition in LocalOplogInfo
-
- Closed
-