Temporarily mark QueryPlanKilled as expected on aggregation commands in read_write_concern_defaults_application.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-03-02
    • 200
    • 🟦 Shard Catalog
    • None
    • None
    • None
    • None
    • None
    • None

      Temporarily mark QueryPlanKilled as expected on aggregation commands in read_write_concern_defaults_application.js

      Context

      During aggregation, all involved collections are acquired up front, then released, and re-acquired when pipeline execution starts.
      It could happen that the aggregation's target collection appears only after the second acquisition. At that point, the operation would fail with QueryPlanKilled, because a collection participating in the aggregation cannot be created while the aggregation is in progress.

            Assignee:
            Silvia Surroca
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: