-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
ALL
-
v8.2, v8.0, v7.0, v6.0
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The targetShardsAndAddMergeCursors() function uses CollectionRouter::route to retry a pipeline that fails because of invalidated shard metadata. However, the first attempt to dispatch the pipeline {{std::move()}}s the readConcern, which means that subsequent attempts pass an empty readConcern, which gets interpreted as a request for the default readConcern.