queryPlanner.maxIndexedOrSolutionsReached can report false when the indexed OR enumeration limit was hit

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The flag is set in the enumerator only on the advance step that trips the limit. Each produced solution captures a snapshot of planEnumerator.explainInfo at merge time, and the reported value is later read from the winning solution's snapshot. If the winner is not the last-enumerated solution, the final hitIndexedOrLimit=true state can be lost.

            Assignee:
            Maddie Zechar
            Reporter:
            Carlos Alonso Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: