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

Set internalQueryExecYieldPeriodMS to its default value and retry upon QueryPlanKilled error

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-17, CAR Team 2025-03-03, CAR Team 2025-03-17, CAR Team 2025-04-28
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The internalQueryExecYieldPeriodMS and internalQueryExecYieldIterations were set to higher values on balancer suites as a best effort to avoid getting a QueryPlanKilled error during the initial command of a query (an initial command is any command other than getMore).

      The error QueryPlanKilled can be thrown by queries when a moveCollection runs concurrently.
      After SPM-3964, the error QueryPlanKilled can also be thrown due to range deletions happening in the background, triggered by chunk migrations.

      To properly test SPM-3964, we will set both parameters to their default value and add a retry operation for a QueryPlanKilled error coming from a command different than getMore.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None