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

Ignore QueryPlanKilled error on agg_lookup.js when balancer is enabled

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-04-14
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The aggregate commands called by agg_lookup.js may throw a QueryPlanKilled error when the balancer is enabled due to range deletions.

      Before SPM-3964, range deletions caused secondary queries to overlook documents. But after SPM-3964, secondary queries targeting sharded collections may fail with QueryPlanKilled error due to range deletions happening in the background.

      Therefore, we should ignore the QueryPlanKilled error when the balancer is enabled.

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

              Created:
              Updated:
              Resolved: