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

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

    XMLWordPrintable

    Details

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

      Description

      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.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: