mongoimport stopOnError does not stop on error (legacy C++)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: Legacy C++ Implementation
    • Component/s: mongoimport
    • None
    • Platforms 2017-01-23

      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.

            Assignee:
            Samantha Ritter (Inactive)
            Reporter:
            Ian Whalen (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: