[SERVER-74155] Make working with array<variant<BulkWriteInsertOp, BulkWriteUpdateOp, BulkWriteDeleteOp>> easier Created: 17/Feb/23  Updated: 29/Oct/23  Resolved: 02/Mar/23

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

Type: Task Priority: Major - P3
Reporter: Frederic Vitzikam Assignee: Frederic Vitzikam
Resolution: Fixed Votes: 0
Labels: milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-03-06
Participants:

 Description   

Write a helper class to help access the variant ops in bulkwrite.

 

For now, we already have multiple places using stdx::visit for this, search for 

const mongo::BulkWriteInsertOp& value 

 

 

SERVER-72092 also added getInsert in batched_command_request.cpp as a mitigation of a MSVC compiler bug with a TODO pointing to this ticket.



 Comments   
Comment by Githook User [ 02/Mar/23 ]

Author:

{'name': 'Frederic Vitzikam', 'email': 'frederic.vitzikam@mongodb.com', 'username': 'fredvitz'}

Message: SERVER-74155 Make working with array<variant<BulkWriteInsertOp, BulkWriteUpdateOp, BulkWriteDeleteOp>> easier
Branch: master
https://github.com/mongodb/mongo/commit/0ffa3e2081099040cbc088d3cb256cab72e2a82c

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