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

SBE should use expanded index pattern for wildcard index

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc6
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • 136

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: