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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Xavier Lavallée
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: