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

Refactor run_aggregate to use a helper function that manages lock acquisition and collation resolution

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible

      Lock acquisition and collation resolution seems to be one large logical step on the run_aggregate path. We should break it into a helper function to clean up the high-level path. This step should just require the AggregationPlan as input, and should output the collation. Preparation for change streams (setting the execution namespace and other checks) as well as lock acquisition happens alongside.

            Assignee:
            chris.wolff@mongodb.com Chris Wolff
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: