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

collection.insert doesn't work correctly

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.27
    • Component/s: None
    • Labels:
    • Environment:
      Debian Wheezy x64, mongodb 2.6.3

      I try to insert array of 150000 items to my collection using insert() and insertMany() methods of Node.js driver, but I get an exception "server 127.0.0.1:27017 sockets closed". MongoDB log contains line "AssertionException handling request, closing client connection: 10334 BSONObj size: 39263551 (0x2571D3F) is invalid. Size must be between 0 and 16793600(16MB)". Python's driver (pymongo) manages this task perfectly. Is it expected behaviour?

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            wapfy Dmitriy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: