-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.2.0
-
Component/s: mongoimport
-
None
-
Environment:Linux (Docker mongo:4.2)
When importing a JSON lines file which contains 100K JSON documents and one document that exceeds the 16Mb limit, mongoimport stops and exits. It should continue processing all remaining documents and skip the faulty ones.
No special options where used like --stopOnError. The following command is issued via a python subprocess
'mongoimport',
'--quiet',
'--host', self.host,
'-u', self.user,
'-p', self.password,
'--db', self.database,
'--authenticationDatabase', self.auth_database,
'--collection', collection,
'--file', file