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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      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:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: