Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2021-04-19
Description
Inserts into WiredTigerRecordStore set the "overwrite" cursor flag to true in all cases.
Regular collections with a separate _id index reject duplicate _id values by setting the "overwrite" flag to false.
This is likely not problematic for time-series collections because they use ObjectId, but collisions are possible.
For clustered collections only, set the "overwrite" flag to false.
Attachments
Issue Links
- is related to
-
SERVER-55342 WiredTigerSession::CursorCache should ensure that checked-out cursor has correct overwrite setting
-
- Closed
-