-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The MultipleCollectionAccessor class holds pointers to structures in the TransactionResources of an OperationContext. We need to ensure that each thread is able to prepare its stages safely:
- if all the stages are using compileCtx.mca just to read data locally, we can safely prepare them from the main thread, reusing the main compileCtx
- if they are using it to get cursors that are used at runtime, the preparation of the stage must occur in that thread, using a dedicated mca pointing to the OperationContext of that thread
- related to
-
SERVER-139531 Complete TODO listed in SERVER-134367
-
- Closed
-