[SERVER-43052] Sanitize writeConflictRetry loops for duplicate fields Created: 27/Aug/19  Updated: 29/Oct/23  Resolved: 13/Sep/19

Status: Closed
Project: Core Server
Component/s: Write Ops
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Evgeni Dobranov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-43053 Add concurrency test suite that cause... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Execution Team 2019-09-23
Participants:

 Description   

Certain writeConflictRetry loops append fields to command results, resulting in duplicate fields getting appended when the retry occurs. A potential solution to avoid these is to perform the appends after the retry loop.



 Comments   
Comment by Githook User [ 13/Sep/19 ]

Author:

{'name': 'Evgeni Dobranov', 'username': 'edobranov', 'email': 'evgeni.dobranov@mongodb.com'}

Message: SERVER-43052 Sanitize writeConflictRetry loops for duplicate fields in result
Branch: master
https://github.com/mongodb/mongo/commit/d832971810c64029c66c1376ce34d47aebba6455

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