[SERVER-64159] Avoid inserting duplicate _ids in tenant_migration_advance_stable_ts_after_clone.js test Created: 03/Mar/22  Updated: 29/Oct/23  Resolved: 03/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Christopher Caplinger Assignee: Christopher Caplinger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:
Linked BF Score: 152

 Description   

If this assert.soon statement happens to run multiple times, we can end up inserting a document with the same _id multiple times. 



 Comments   
Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}

Message: SERVER-64159: Prevent attempts to insert multiple documents with the same _id
Branch: master
https://github.com/mongodb/mongo/commit/212e9839ba0de9f85b1cebe9ae13f6b7a40aa85d

Generated at Thu Feb 08 05:59:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.