-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
v7.2
-
QE 2023-11-13, QE 2023-11-27
When $lookup targets only local shard for sub-pipeline, it performs local reads.
However, if the targeted collection was already read by the same query, it is possible that some storage snapshots are left inside OperationContext, Transaction, etc. that will prevent the query from reading the latest data.
We need to make sure that there is no discrepancy between routing info that we use and the data that we read.
- is depended on by
-
SERVER-81335 Query operations that avoid going through the network when a shard is targeting only itself should create a fresh operation context
- Open