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

Investigate whether there are situations in which we don't need to set batchSize to 0 when opening a cursor for a pipeline

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Aggregation Framework
    • None
    • Query Optimization

    Description

      It looks like we do know whether an aggregate needs to be merged on a shard (here) before we set the batchSize (in this function, here). If we pass that value through to the function, we may be able to eliminate the need for a request to be sent with batchSize: 0

      Attachments

        Activity

          People

            backlog-query-optimization Backlog - Query Optimization
            ted.tuckman@mongodb.com Ted Tuckman
            Votes:
            0 Vote for this issue
            Watchers:
            22 Start watching this issue

            Dates

              Created:
              Updated: