-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Enhance OperationContext to ensure the transactional correctness of parallel scan stages
- scan stages should see only the snapshot in which the original query was placed when it was startedÂ
- is it possible to resynchronize after yielding of single threads?
- coordinate detaching of OperationContext from the main query to the parallel threads
Include writing unit tests stressing the locking part; e.g.
- parallel scan with DOP > number_of_cores reading a collection that is being completely updated/inserted/removed by a separate write transaction
- parallel scan with a concurrent DDL operation on the same collection (drop/create index/drop index)