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

SBE should use expanded index pattern for wildcard index

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.0
    • 136

      Currently SBE index scan uses key patterns from the index catalog for wildcard index, which may look like "{$**: 1}". However, we should use the expanded index pattern instead generated by the query planner.

      These two key patterns may differ in length which in turn fails the invariant during index key rehydration.

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: