SBE should use expanded index pattern for wildcard index

XMLWordPrintableJSON

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

      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
            Reporter:
            Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: