Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-657

Large inserts not split into batches with write commands

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.6
    • Affects Version/s: None
    • Component/s: Bulk API, libmongoc
    • None

      Insert six 4MB documents with a mongoc_bulk_operation_t and execute it. It should send the inserts in batches of less than 16MB each, but when using write commands the driver attempts to send a single 24MB write command to the server, which causes the server to hang up.

      Check updates and removes, too.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: