[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: |
|
| 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): https://github.com/mongodb-js/compass-import-export/pull/140 |
| Comment by Githook User [ 17/Mar/20 ] |
|
Author: {'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}Message: fix(import-preview): https://github.com/mongodb-js/compass-import-export/pull/140 |
| Comment by Githook User [ 17/Mar/20 ] |
|
Author: {'email': 'hrabovsky.lucas@gmail.com', 'name': 'Lucas Hrabovsky', 'username': 'imlucas'}Message: fix(import-preview): https://github.com/mongodb-js/compass-import-export/pull/140 |
| 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. |