Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61395

clustered_util::matchesClusterKey should check for compound keys

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2021-11-15, Execution Team 2021-11-29
    • 26

      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

            Assignee:
            josef.ahmad@mongodb.com Josef Ahmad
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: