Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Sharding 2022-12-12
Description
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.
Attachments
Issue Links
- 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
-