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

Do not create two yieldable index scans at the same time

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0
    • Execution Team 2024-06-10
    • 200

      The query system fundamentally assumes callers aren’t using multiple PlanExecutors simultaneously. autoSplitVector and splitVector create a forward index scan and a backward index scan. When the latter yields it invalidates the cursor of the former. Since the backward scan is only used to find the last key, it can be made INTERRUPT_ONLY.

            Assignee:
            wei.hu@mongodb.com Wei Hu
            Reporter:
            wei.hu@mongodb.com Wei Hu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: