Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Fully Compatible
-
ALL
-
Query 2018-10-22, Query 2018-11-05
Description
The AutoGetCollectionForReadCommand helper will automatically check that the shard version attached to the operation context matches the version of the namespace in question - this only makes sense when there is a single involved namespace.
We've actually seen this bug before, and made this change as part of preliminary work for sharded $lookup. Unfortunately, this change was reverted. This part of the change should be revived.