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

mongoimport mode upsert failed process bulk write error

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: 4.2.2
    • Component/s: mongoimport
    • Environment:
      macBook, v.10.15.2

      I caught a mistake

      Failed process for one reason: timeout, killed, SIGTERM ↵2020-01-28T13:24:28.601+0200 connected to: mongodb://localhost:27017/↵2020-01-28T13:24:28.738+0200 Failed: bulk write error: [{[

      {After applying the update, the (immutable) field '_id' was found to have been altered to _id: ObjectId('_REDACTED__')}

      ]}, {<nil>}]↵2020-01-28T13:24:28.738+0200 0 document(s) imported successfully. 1 document(s) failed to import.

       

      What is remarkable:
      If items are less then 10 - import is correct

            Assignee:
            tim.fogarty@mongodb.com Tim Fogarty
            Reporter:
            vios.myself@gmail.com Віталій Юрійович
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: