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

Possible to bulk insert more than 16MB of docs but not possible to retry via WBL

    • ALL

      The sharded insert code now correctly groups bulk inserts for different chunks, but the message size limit is larger than the bson size limit when retrying the bulk inserts via a WBL BSON object.

      We can limit the bulk insert size we send to mongod to 1/2 the max BSON object size, or some other factor, however there's still the edge case when inserting documents very close to 16MB. We can still overrun the actual buffer size in this case due to the extra WBL metadata.

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: