Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-84538

UniqueStage::open(reOpen = true) should clear _seen buffer

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • Fully Compatible
    • ALL
    • QE 2024-02-05

      When performing a reopen on UniqueStage, we should clear UniqueStage::_seen. This is because if reOpen represents a fused close/open, the result for UniqueStage should be an empty _seen buffer. 

      It is not clear whether this affects any SBE query that runs today, however, this is a simple enough fix that we should just fix it.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: