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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Integration

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-integration Backlog - Query Integration
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: