Implement mechanism for extensions to inform host whether or not locks can be freed early

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In run_aggregate.cpp, we have some special code that allows releasing locks when preparing the executors of a pipeline:

      https://github.com/10gen/mongo/blob/master/src/mongo/db/commands/query_cmd/run_aggregate.cpp#L671

      Investigate whether or not this can be done with extension stages, and how we could implement it in the API.

            Assignee:
            Unassigned
            Reporter:
            Santiago Roche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: