-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding 2022-12-12
It's possible that a query with _id or shard key is not directly targetable to a shard due to the usage of a different collation than the default collation collation in the query. We should check if the _id/shard key is a collatable type (object, string, array) then it must use the default collation otherwise it is not directly targetable to a shard.
- related to
-
SERVER-85572 Follow up on audit in mongos for improper usage of collation and incorrectly assuming simple collation rather than collection default
- Open
-
SERVER-76855 Audit mongos for improper usage of collation and incorrectly assuming simple collation rather than collection default
- Closed