Prevent SBE use in cases where $lookup pushdown may not use index

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.2, 8.0.13
    • Affects Version/s: 8.0.6, 8.1.0-rc1
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.1, v8.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As described in SERVER-81555, there are edge cases when an SBE plan for $lookup may not use an index, while the corresponding classic plan would. This task is to detect when that situation may arise, and avoid using SBE altogether in those cases. This is intended to be a simple, backportable change that works around the issue.

      SERVER-81555 will track a complete, proper fix that allows SBE to use the correct index.

              Assignee:
              Foteini Alvanaki
              Reporter:
              Ian Boros
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: