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

Have bulkWrite truncate large error messages

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Trivial - P5 Trivial - P5
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Repl 2023-06-26

    Description

      Currently bulkWrite always passes 0 for numErrors into write_ops_exec::generateErrors

      This means that we will never truncate future errors >1MB which can eat up a lot of cursor memory. We should pass in a proper error count here

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: