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

XMLWordPrintableJSON

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

      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
            Reporter:
            Justin Seyster
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: