-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: Legacy C++ Implementation
-
Component/s: mongoimport
-
None
-
Platforms 2017-01-23
-
(copied to CRM)
stopOnError seems to only stop on exception thrown (broken socket?)
Actual database errors like duplicate _id does not stop it *even if the duplicate is in the first 10 documents, or every document.
The code seems to deliberately make exception for 'uplicate' string in GLE error, but it also ignores other insertion errors - improper format for coordinates, shard key not set, etc.
- is duplicated by
-
SERVER-15123 mongoimport --stopOnError does not stop for the error- E11000 duplicate key error index
- Closed
- related to
-
TOOLS-349 mongoimport may report incorrect number of imported documents
- Closed