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

Unordered bulk operations throw "exceeded maximum write batch size of 1000" exception

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Linux / mongodb 2.6.3 / node.js driver 1.4.7

    Description

      When executing unordered bulk operations with more than 1000 operations, the "exceed maximum write batch size" exception is thrown regularly. Regularly means it sometimes works and sometimes it does'nt for roughly the same number of operations.
      The same ops in ordered bulk mode are working perfectly.

      Examples :

      Not working (nbUpdateOps/nbInsertOps) :

      1825/2842
      1637/2840
      1451/2403
      1599/2829

      Working (nbUpdateOps/nbInsertOps) :

      1742/2934
      1530/2594
      1512/2457
      1427/2498

      I don't have much time to investigate this issue but if you need further details or specific tests, don't hesitate to ask.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tms Valentin Day
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: