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

Attach empty ShardRole TransactionResources to aggregation additional executors

    • Type: Icon: Task Task
    • 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
    • CAR Team 2025-03-17

      runAggregate sometimes produces more than one plan executor. Each PlanExecutor needs to be associated to one and only one ShardRole::TransactionResources. Since only the "main" executor has associated ShardRole acquisitions, that executor will be bound to the TransactionResources that back these acquisitions. The rest of the executors, which can be related to exchange or to mongot metadata pipelines, will be bound to an empty set of TransactionResources, since they never reference ShardRole acquisitions.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: