Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4571

Import fails silently with existing _ids

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 1.26.1
    • Import/Export
    • None
    • 3
    • Not Needed
    • Iteration Xylocarpus Granatum, Iteration Yucca

    Description

      Step to reproduce:

      Import this CSV once (TAB):

      _id x
      5ffef2488fef3e58320867d0 1
      5ffef2488fef3e58320867d1 2

      Then change it like this:

      _id x
      5ffef2488fef3e58320867d0 2
      5ffef2488fef3e58320867d2 3

      And try the import again.

      The import has no effect. I would expect either an error or that the first document would update and the second would be inserted.

      Attachments

        Activity

          People

            sergey.petushkov@mongodb.com Sergey Petushkov
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: