Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1898

BulkWrite: Incorrect batch-size calculations when array contains object with undefined value

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0
    • Affects Version/s: 3.1.13
    • Component/s: None
    • Labels:

      When performing a bulk operation over 16MB that contains subarrays with objects with undefined values, the driver's calculation of size is underestimated, causing the operation to fail.

      Can be reproduced using driver version 3.1.13 and attached code.

       

            Assignee:
            daniel.aprahamian@mongodb.com Daniel Aprahamian (Inactive)
            Reporter:
            xvaier Xavier Lavallée
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: