Set internalQueryExecYieldPeriodMS to its default value and retry upon QueryPlanKilled error

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • 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, CAR Team 2025-05-12, CAR Team 2025-05-26
    • 200
    • None
    • 3
    • 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
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: