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

Import fails silently with existing _ids

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.26.1
    • Affects Version/s: None
    • Component/s: Import/Export
    • Labels:
      None
    • 3
    • Not Needed
    • Iteration Xylocarpus Granatum, Iteration Yucca

      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.

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

              Created:
              Updated:
              Resolved: