Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-1220

mongoimport support for quietly ignoring duplicates

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      If mongoinsert is used to bulk import large number of records, with intention that those with _id already present should be ignored, it works except that server logs are flooded with a large number of "E11000 duplicate key error index" messages. My mongo.log is currently 15GB, mostly of those.

      It would be nice to be able to tell mongoimport that it doesn't need to be concerned about duplicates.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            taw Tomasz Wegrzanowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: