[COMPASS-3941] Compass Schema analytics fails on some collections Created: 24/Oct/19  Updated: 04/Feb/20  Resolved: 04/Feb/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.19.12
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Georg Federmann Assignee: Lucas Hrabovsky (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MacOS Homebrew installation (current package)


Attachments: PNG File image-2019-10-24-09-18-23-532.png     PNG File image-2019-10-24-09-19-47-076.png    

 Description   

When connecting Compass 1.19.12 against a mongodb instance running in a docker container on the same machine started from Docker image mongo:4.0.13-xenial 

and requesting schema analytics for a collection with 432.3k documents, avg size 3.6KB, the screen will at first remain blank, see screenshot below

After switching to another tab and going back to the Schema tab, the document fields will be displayed, but no statistic for the contained data. When deep diving into nested documents, Compass will display statistics for those nested fields. Compare screen shot below:

Expected behaviour: Compass would display schema statistics without having to switch between tabs in the Compass UI first. Compass would display complete schema statistics and not only for nested fields.

 

 

 

 

 

 



 Comments   
Comment by Massimiliano Marcon [ 04/Feb/20 ]

Not enough information to reproduce and no info shared by user.

Comment by Massimiliano Marcon [ 06/Nov/19 ]

georg.federmann@gmail.com can you give 1.20-beta a try and see if that fixes your problem? We had a similar bug some time ago and it should be fixed now.

If not fixed, can you share some sample documents?

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