[SERVER-55681] Collections clustered by _id need to reject duplicate _id values Created: 31/Mar/21 Updated: 29/Oct/23 Resolved: 07/Apr/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Louis Williams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Execution Team 2021-04-19 | ||||||||
| Participants: | |||||||||
| 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. |
| Comments |
| Comment by Githook User [ 08/Apr/21 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |
| Comment by Githook User [ 07/Apr/21 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: The WiredTigerSessionCache should not mix cursors with different |