Document count on collections->documents tab view wont update

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Minor - P4
    • No version
    • Affects Version/s: 1.38.2
    • Component/s: None
    • None
    • Environment:
      OS: OS X Ventura 13.4 M1.
      Compass: 1.38.2
      MongoDB: (LOCAL) v4.2.21 git version: b0aeed9445ff41af07449fa757e1f231bce990b3 
    • Not Needed
    • None
    • Developer Tools

      Problem Statement/Rationale

      Document 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:

      • The document is inserted/deleted via compass itself
      • The user disconnects and reconnects to the cluster

      Steps to Reproduce

      Open compass, select a database, select a dummy collection. Using mongosh (embedded or not) insert or delete any document. 

      Expected Results

      The document count should update.

      Actual Results

      The count is not updated after inserts or deletes.

      Additional Notes

      Relates to COMPASS-4335

        1. Screenshot 2023-06-30 at 16.47.47.png
          50 kB
          cristianorvf N/A
        2. Screenshot 2023-06-30 at 16.52.08.png
          284 kB
          cristianorvf N/A
        3. Screenshot 2023-06-30 at 16.52.24.png
          105 kB
          cristianorvf N/A

              Assignee:
              Unassigned
              Reporter:
              cristianorvf N/A
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: