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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • Replication
    • Fully Compatible
    • Repl 2023-03-06

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: