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

mongoimport mode upsert failed process bulk write error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Works as Designed
    • 4.2.2
    • No versions
    • mongoimport
    • macBook, v.10.15.2

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: