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

Deleting multiple aggregation stages quickly creates ghost stage frame

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • No version
    • 1.35.0
    • Aggregation pipeline
    • None
    • OS:
      node.js / npm versions:
      Additional info:
    • Not Needed
    • Up for triaging

    Description

      Screen Recording 2023-03-13 at 14.13.32.mov

      Looks like when multiple stages are removed quickly, an empty stage that cannot be interacted with can exist in the pipeline.

      This is a bit harder to do now than before as the remove stage button is now in a menu, however it still should be able to happen.

      My hunch as to what's happening is a race condition with loading the preview. We probably want to ignore preview results when the underlying pipeline has changed and they are no longer relevant.

      Reported on slack:
      https://mongodb.slack.com/archives/C0U7K0MC3/p1678713461139429 

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: