[COMPASS-6628] Compass failed to import 3 million records Created: 20/Mar/23  Updated: 04/Apr/23  Resolved: 04/Apr/23

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: None
Fix Version/s: No version

Type: Bug Priority: Major - P3
Reporter: Felicia Hsieh Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: export, import
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

mongod 5.0.15
win2016


Attachments: PNG File CompassImportCase.png    
Epic Link: COMPASS-5576
Documentation Changes: Not Needed

 Description   

Problem Statement/Rationale

What is going wrong? What action would you like the Engineering team to take?

Please be sure to attach relevant logs with any sensitive data redacted.

Accidental deletion of 3 million record collection in db. After an Atlas Restore of a backup, Compass could not reimport 3 million docs that were exported. Compass showed completion at 74 million, "74,016,990 (100%)", but the database collection was empty. Checked with Compass (hard refresh) and mongosh countDocuments(), findOne.

Steps to Reproduce

How could an engineer replicate the issue you’re reporting?

Restore an Atlas backup that has a collection of 3 million records.

With Compass, export 3 million collection to a JSON file.

Import JSON file. It completed at 74 Million records (100%) but no data.

Expected Results

What do you expect to happen?

Successful import of large collection

Actual Results

What do you observe is happening?

No collection.

Additional Notes

Any additional information that may be useful to include.

mongodump and mongoimport was successful

mongod 5.0.15

win2016


Generated at Wed Feb 07 22:43:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.