Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Catalog and Routing
Description
The ShardLocal aggregations code ends up calling RSLocalClient. This code ends up overriding the readConcern given to the command.
The readConcern given as a result would crash the server if snapshot readConcern is used since the override would swap afterClusterTime with afterOpTime. When processing the request, the server would also add a atClusterTime since it uses snapshot readConcern. This will cause this invariant to get hit since both arguments will be set.
Attachments
Issue Links
- is related to
-
SERVER-85869 Exhaustive find on config shard can return stale data
-
- In Code Review
-