Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-65

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • Legacy C++ Implementation
    • None
    • mongoimport
    • None
    • Platforms 2017-01-23

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              samantha.ritter@mongodb.com Samantha Ritter (Inactive)
              ian@mongodb.com Ian Whalen
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: