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

Count in Aggregation tab is not updated after a deletion after first calculation

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor - P4
    • Resolution: Unresolved
    • 1.33.1
    • None
    • Aggregation pipeline, Count
    • None
    • mac 12.6
      Compass 1.33.1
    • 2
    • Iteration Q

    Description

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

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

      After running an aggregation pipeline, Count is not accurate after a deletion, even after clicking "Run (aggregation button)" button. Must use "Edit" button>"Run">"count results" link. (This is also a bit clunky as "count results" link is an additional step).

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      1. Run aggregate query
      2. Get count
      3. Delete or add a document in a different tab
      4. Click Run from the original tab to re-run the aggregate, the count does not refresh
        To see the updated count
      5. Click Edit
      6. Re-run the aggregate and then click to show the count, the updated count is displayed

      Expected Results

      What do you expect to happen?

      Accurate count always

      Actual Results

      What do you observe is happening?

      Count is not being updated after a deletion in Documents tab or deletion using mongo shell.

      Additional Notes

      Any additional information that may be useful to include.

      Attachments

        Activity

          People

            Unassigned Unassigned
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: