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

Show the number of errors in the import toast

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.43.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Not Needed
    • Developer Tools

      If a user imports a file where every document errors, then the progress appears to be "stuck" on "0 documents written." Although the progress bar does change. It would be handy to know that there are errors without having to wait for the import to finish.

       

      The easiest way to get into this situation or test this is to export a collection to JSON, then import it to a new collection. Then import it to the same collection a second time. All those object ids should error because of unique constraints. ie. literally every document in the file can easily produce an error. Imagine this is a very big file.

            Assignee:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Reporter:
            leroux.bodenstein@mongodb.com Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: