Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-74155

Make working with array<variant<BulkWriteInsertOp, BulkWriteUpdateOp, BulkWriteDeleteOp>> easier

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication
    • Fully Compatible
    • Repl 2023-03-06

      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.

            Assignee:
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Reporter:
            frederic.vitzikam@mongodb.com Frederic Vitzikam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: