[COMPASS-4859] Compass showing either "0" or "N/A" for things like total number of documents or size of documents in a collection Created: 31/May/21  Updated: 27/Oct/23  Resolved: 23/Feb/22

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.26.1
Fix Version/s: 1.27.1

Type: Bug Priority: Minor - P4
Reporter: Virgil Nilson Assignee: Unassigned
Resolution: Gone away Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2021-05-30 at 10.33.50 PM.png     PNG File Screen Shot 2021-05-30 at 10.34.09 PM.png    
Story Points: 1
Documentation Changes: Not Needed

 Description   

Problem Description

Steps to Reproduce

Expected Results

Actual Results

Additional Notes



 Comments   
Comment by Rhys Howell [ 23/Feb/22 ]

Closing this then, thanks!

Comment by Virgil Nilson [ 21/Jun/21 ]

Just wanted to confirm that in my case, these things do seem to be working correctly with the 1.27.0-beta.7

Comment by Massimiliano Marcon [ 16/Jun/21 ]

This bug seems to be gone in the latest Compass 1.27 beta, we'll check the behavior and update the ticket.

Comment by Virgil Nilson [ 31/May/21 ]

I'm sorry, this was my first time submitting an issue and I don't see how to edit the issue to add to the "description" section, so I'll add the relevant info in this comment.

Problem Description

I installed Compass last night, connected it to a locally hosted MongoDB version 5.0.0-rc0, as can be seen in the screenshot. I then navigated to a database, and was shown the collection in that database.

On that screen, it shows "0" under the columns for "Documents", "Total Document Size" and "Total Index Size".

If I click the collection, the next window does give me access to all of the documents in the collection.

However, the header on that screen also shows "N/A" for "Documents", "Total Size", "Average Size", and "Indexes.

Steps to Reproduce

View a collection through Compass, note whether you can see any values other than "0" or "N/A" on the "Collections" screen or once you've clicked into the collection.

Expected Results

Should at the very least see the actual total number of documents in a collection, as well as the size of those documents.

Actual Results

Instead of the real values for the total number of documents or size of those documents, you get either "0" or "N/A" values.

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