[COMPASS-6993] Document count on collections->documents tab view wont update Created: 30/Jun/23 Updated: 15/Dec/23 Resolved: 25/Aug/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | 1.38.2 |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | cristianorvf N/A | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: OS X Ventura 13.4 M1. |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Developer Tools
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
Problem Statement/RationaleDocument count on collection->document tab does no update upon "external" inserts/deletes even if "find" button is hit. Navigating to different tabs (aggregations, indexes..) or running queries with filter fulfilled wont update it either. This relates to any collection size (600 docs up to 20mi docs checked) It only updates if:
Steps to ReproduceOpen compass, select a database, select a dummy collection. Using mongosh (embedded or not) insert or delete any document. Expected ResultsThe document count should update. Actual ResultsThe count is not updated after inserts or deletes. Additional NotesRelates to COMPASS-4335 |
| Comments |
| Comment by PM Bot [ 25/Aug/23 ] |
|
There hasn't been any recent activity on this ticket, so we're resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you're still experiencing the issue, and add a comment if you're able to provide more information. |
| Comment by PM Bot [ 17/Aug/23 ] |
|
Hi cristianorvf@gmail.com! If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks! |
| Comment by Maurizio Casimirri [ 09/Aug/23 ] |
|
cristianorvf@gmail.com this is by design in order to avoid costly operations on production servers. The document count on the collection header is calculated based on an estimate and is not refreshed. You can however reload all the interface, including collection stats with a reload button on the sidebar. Let us know if that is sufficient and if the reload button is discoverable enough. Thanks! |
| Comment by PM Bot [ 30/Jun/23 ] |
|
Hello cristianorvf@gmail.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible. Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again! |