Uploaded image for project: 'MongoDB ETL Tools'
  1. MongoDB ETL Tools
  2. TOOLS-1132

Export/Import Failing on specific collection

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: Legacy C++ Implementation, 3.0.9
    • Fix Version/s: None
    • Component/s: mongoexport, mongoimport
    • Labels:
      None
    • Environment:
      Development
    • Backport Requested:
      v3.0, v2.4

      Description

      Executed a mongoexport against 2.4.9 database:

      mongoexport -u user -p ***** -h localhost --port 27017 --collection auditLog -d testDB--out=/tmp/testDBExport/auditLog.json
      connected to: localhost:27017
      exported 1351 records
      

      Executed mongoimport against 3.0.9 database:

      mongoimport -u user -p ***** -h localhost --port 10000 -d testDB --file=/tmp/testDBExport/auditLog.json -c auditLog --authenticationDatabase=admin
      2016-04-11T12:18:14.576-0400    connected to: localhost:10000
      2016-04-11T12:18:15.406-0400    error inserting documents: lost connection to server
      2016-04-11T12:18:15.406-0400    Failed: lost connection to server
      2016-04-11T12:18:15.406-0400    imported 0 documents
      

      Follow error on server log:

      2016-04-11T12:18:15.406-0400 I NETWORK  [conn1447] AssertionException handling request, closing client connection: 10334 BSONObj size: 31589283 (0x1E203A3) is invalid. Size must be between 0 and 16793600(16MB) First element: insert: "auditLog"
      

      What can we do to import the data into new database? I have executed these commands against similar collections with no issue.

        Attachments

          Activity

            People

            • Assignee:
              gabriel.russell Gabriel Russell
              Reporter:
              patryk0605 Patrick Lewandowski
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: