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

Have bulkWrite truncate large error messages

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Repl 2023-06-26

      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

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

              Created:
              Updated:
              Resolved: