Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4116

Support batchSize on listIndexes helper

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None

    Description

      Motivation
      The C driver does not support the batchSize option on the listIndexes helper: mongoc_collection_find_indexes_with_opts.

      The attachment includes a reproduction script. It is not possible to pass a batch size to the initial listIndexes command.

      The Enumerate Indexes specification does note this behavior is optional:

      MAY allow the cursor.batchSize option to be passed.

      Scope

      Accept a batchSize as a top-level option, which applies to both the initial listIndexes command and all getMore operations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: