[COMPASS-4212] Import fails on very large JSON document Created: 13/Mar/20  Updated: 29/Oct/23  Resolved: 18/Mar/20

Status: Closed
Project: Compass
Component/s: Import/Export
Affects Version/s: 1.21.0
Fix Version/s: 1.21.0, 1.21.2

Type: Bug Priority: Critical - P2
Reporter: Charles Kalmanek Assignee: Lucas Hrabovsky (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-03-18 10.08.29.png    
Sprint: Iteration Zebra

 Description   

When trying to load a very large JSON document, Compass 1.21.0-beta.2's screen goes white and then Compass hangs.   

The document is {"_id": 1, "value": "=========..."} and is 5 MB long.

This works in 1.20.5

 



 Comments   
Comment by Lucas Hrabovsky (Inactive) [ 18/Mar/20 ]

chuck.kalmanek massimiliano.marcon actually, as of this commit making the import-preview component more resilient fixes this issue entirely without any other changes.

Comment by Githook User [ 17/Mar/20 ]

Author:

{'name': 'Lucas Hrabovsky', 'username': 'imlucas', 'email': 'hrabovsky.lucas@gmail.com'}

Message: fix(import-preview): COMPASS-4212: handle edge cases where we can't show (#1921)

https://github.com/mongodb-js/compass-import-export/pull/140
Branch: 1.21-releases
https://github.com/mongodb-js/compass/commit/09e0bd5875a4e15dc39a0fae4d4aa27255d68be1

Comment by Githook User [ 17/Mar/20 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: fix(import-preview): COMPASS-4212: handle edge cases where we can't show (#1921)

https://github.com/mongodb-js/compass-import-export/pull/140
Branch: master
https://github.com/mongodb-js/compass/commit/7bdde907cc54bef4b3e160ffb6090dc88c8ea17f

Comment by Githook User [ 17/Mar/20 ]

Author:

{'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}

Message: fix(import-preview): COMPASS-4212: handle edge cases where we can't show

https://github.com/mongodb-js/compass-import-export/pull/140
Branch: import-preview-edge-cases
https://github.com/mongodb-js/compass/commit/d6a88fa36c25a2adca358347636d409c80607dd7

Comment by Lucas Hrabovsky (Inactive) [ 16/Mar/20 ]

chuck.kalmanek please attach or send me the file you're trying to import as there are other edge cases this may be introducing.

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