When a shard processes an operation with available read concern, the shard version attached to the command are ignored and, from the point of view of the CollectionShardingRuntime, the Collection is considered as if it was UNSHARDED (getCollectionDescription, getOwnershipFilter). For views over sharded collections with available read concern, we believe that the operation can be solved on the primary shard because the CollectionShardingRuntime says that the collection is UNSHARDED, avoiding to use the kickback machinery.
- is depended on by
-
SERVER-85182 Sharded timeseries collections - any queries with readConcern: "available" hang indefinitely
- Blocked
- related to
-
SERVER-78832 AutoGetCollectionForReadLockFree constructor should check the shard version when setting shard key
- Closed