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

Fix doc sequences for bulkWrite

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical - P2 Critical - P2
    • 8.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2024-02-19

    Description

      This code is incorrect and will crash for bulkWrites done with document sequences. We may not always be able to fit all the documents into a BSONObj due to doc sequencing. We should catch this error and run the function with an empty BSONObj.

      Attachments

        Activity

          People

            sean.zimmerman@mongodb.com Sean Zimmerman
            sean.zimmerman@mongodb.com Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: