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

Deleting multiple aggregation stages quickly creates ghost stage frame

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

      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 

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

              Created:
              Updated:
              Resolved: