-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
Fully Compatible
-
ALL
-
Repl 2018-10-22, Repl 2018-11-05, Repl 2018-11-19
-
2
The currentOp command loops over all Clients, and for any that have an associated OpCtx and OperationContextSession it reads the ReadConcernArgs decoration off the OpCtx. This isn't valid as there's no synchronization around writing to the decoration other than that it can only happen from the thread running the OpCtx.
This means that there's a data race when reading the ReadConcernArgs decoration as it could be modified by the thread running the OpCtx while it is being read by currentOp.
- is related to
-
SERVER-36499 currentOp support for prepared transactions
- Closed