InsertBatch fails when large batch has to be split into smaller sub batches

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.8.1
    • Affects Version/s: 1.8
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The ResetBatch internal method in MongoInsertMessage.cs is not resetting the length of the buffer which results in more bytes being sent to the server than should be sent. Because the extra bytes are somewhat random the most likely outcome is that the server will complain that a message length (the first 4 of the extra bytes) is too large.

              Assignee:
              Robert Stam
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: