handle concurrent collection drops with $merge in UWE

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-11-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $merge relies on the old batch write executor's use of the CollectionRoutingInfoTargeter to detect collection drops between rounds, as the CRIT stores a _targetEpoch for namespaces and checks that it's the same on routing context initialization, throwing a StaleEpoch error if it's not (here, caught here) which is then converted into QueryPlanKilled in the merge stage. We need to do a similar check in the UWE.

            Assignee:
            Kristina Znam
            Reporter:
            Kristina Znam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: