[SERVER-49385] SBE should fail cleanly if needed index is dropped during execution of SBE query Created: 08/Jul/20 Updated: 29/Oct/23 Resolved: 08/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | David Storch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Query Execution 2021-02-22, Query Execution 2021-03-08, Query Execution 2021-03-22 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Linked BF Score: | 140 | ||||||||||||||||||||||||||||
| Description |
|
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). |
| Comments |
| Comment by Githook User [ 08/Mar/21 ] |
|
Author: {'name': 'David Storch', 'email': 'david.storch@mongodb.com', 'username': 'dstorch'}Message: |