Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2021-11-15, Execution Team 2021-11-29
-
26
Description
Right now, matchesClusterKey will return a false positive when provided with a compound index whose first field matches the cluster key
Eg) clusterKey: {_id: 1}...
matchesClusterKey({_id: 1, a: -1, ....}, clusteredIndexSpec) => true when it should return false