Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6738

Refresh button on the Collection tab does not refresh collection stats

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.36.4
    • Affects Version/s: 1.36.3
    • Component/s: Collection
    • Labels:
      None
    • Environment:
      OS: All
      Additional info:
    • 1
    • Not Needed

      Problem Statement/Rationale

      The refresh button available on the collections tab does not refresh the collection stats. This might be frustrating for users expecting this behaviour.

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce

      1. Set up a new connection in compass and one in mongosh
      2. From the navigation tree on the left select a database to open the collection tab
      3. From the mongosh insert a few documents into any of the collection in the database that you just opened in compass
      4. On compass, press the refresh button that you see on the collection tab

      Expected Results

      Documents count in the collection grid gets refreshed and reflects the recently added documents

      Actual Results

      Documents count in the collection grid remains the same

      Additional Notes

      Any additional information that may be useful to include.

            Assignee:
            himanshu.singh@mongodb.com Himanshu Singh
            Reporter:
            himanshu.singh@mongodb.com Himanshu Singh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: