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

SBE should fail cleanly if needed index is dropped during execution of SBE query

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • Query Execution 2021-02-22, Query Execution 2021-03-08, Query Execution 2021-03-22
    • 140

      The "prepare" phase of the IndexScanStage should take the collection lock and store a weak reference to the IndexCatalogEntry, so that subsequent open() and getNext() calls can verify they are using the same index as was used to initially open the IndexScanStage (i.e., the index was not destroyed and then re-created with the same name).

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            justin.seyster@mongodb.com Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: