[COMPASS-4154] Blank Analyze Schema Created: 19/Feb/20  Updated: 29/Oct/23  Resolved: 02/Feb/21

Status: Closed
Project: Compass
Component/s: Schema, UI / UX
Affects Version/s: 1.20.4
Fix Version/s: 1.26.0

Type: Bug Priority: Major - P3
Reporter: Felicia Hsieh Assignee: Maurizio Casimirri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10, OSX


Attachments: PNG File Anteckning 2020-02-21 085852.png     PNG File Anteckning 2020-02-21 085853.png     PNG File Collection.png     PNG File Screen Shot 2020-02-24 at 1.50.24 PM.png     PNG File Screen Shot 2020-04-29 at 5.09.38 PM.png     PNG File Screen Shot 2020-04-29 at 5.10.15 PM.png     PNG File Screen Shot 2020-04-29 at 5.12.54 PM.png     PNG File analyze-error.png    
Issue Links:
Documented
Duplicate
Related
related to COMPASS-2845 Compass freezes when analyzing schema... Closed
related to COMPASS-3972 Schema analyzer times out Closed
related to COMPASS-4638 Update time out error if query exceed... Closed
Documentation Changes: Needed
Documentation Changes Summary:

1. When a schema analysis is failing because a collection is too big, we now show a timeout error and recommend to the user that they change the maxTimeMS in the query bar. Since the query bar is often going to be not expanded, maybe it's worth showing a simple example with a screenshot in the docs for Schema Analyzer?

2. The screenshots in https://docs.mongodb.com/compass/current/schema should be updated since the count of "returned" documents is not going to be shown.

3. The default maxTimeMS already changed from 5000 to 60000 ms, we may want to update the screenshot and the text here as well https://docs.mongodb.com/compass/current/schema#troubleshooting.

Sprint: Iteration Xerus, Iteration Yak, Iteration Tangerine, Iteration Uglifruit

 Description   

Schema analysis can be viewed in Compass except for 1 collection, which is blank.

DevTools pic attached



 Comments   
Comment by Githook User [ 01/Feb/21 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: improve schema analysis on big collections COMPASS-4154 (#2105)

  • update import export
Comment by Githook User [ 31/Jan/21 ]

Author:

{'name': 'mcasimir', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: improve schema analysis on big collections COMPASS-4154
Branch: COMPASS-4154
https://github.com/mongodb-js/compass/commit/79fa2f0fe3278cb3c6933d276c465a26e2fd5aef

Comment by Githook User [ 27/Jan/21 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: feat: aways sample with aggregation and allow to start and kill sessions COMPASS-4154 (#294)

  • feat: always use aggregation for sample, add session methods, fix local lint breaking in vscode
  • lint error on exclusive tests
  • add more tests for sample
  • add tests for data service
  • readd deps changes
Comment by Durran Jordan [ 09/Mar/20 ]

https://github.com/mongodb-js/compass/pull/1913

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