This scenario is expected since the aggregate command doesn't use "snapshot" readConcern so writes can occur during aggregation, i.e. documents can get deleted between the $meta: indexKey stage and the $lookup stage.
Make analyzeShardKey hook and concurrency workload ignore error thrown when analyzeShardKey command failed to look up documents for hashed shard key
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: