Details
-
Bug
-
Resolution: Works as Designed
-
Major - P3
-
None
-
None
-
None
-
ALL
-
Execution Team 2019-11-04
-
14
Description
The EphemeralForTestRecordStore uses a mutex to control access to its _data->records member. However, EphemeralForTestRecordStore::Cursor and ::ReverseCursor get a direct reference to this member and do not lock the mutex when accessing it.
Furthermore, these classes cache an iterator to the structure, which is a std::map; in the case of a rollback these iterators will be invalid, and in the case of a delete they might be.
Attachments
Issue Links
- related to
-
SERVER-42925 idempotency tests have oplog visiblity issues
-
- Closed
-