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

Deprecate the find command's singleBatch option

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      As part of the work done in SERVER-57461 we realized that `singleBatch` in the find command is also a legacy concept. We want to remove `singleBatch` but we can't remove `singleBatch` unless we deprecate the use of negative limit first because drivers use `singleBatch` to implement negative limit semantics,

      https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/message.py#L201-L204

      After we deprecate negative limit support we can remove `singleBatch`  from the find command and elsewhere in the codebase.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-execution Backlog - Query Execution
              Reporter:
              eric.cox Eric Cox
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: