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

Make the default find batch size configurable and fuzz in testing

    • Query Execution
    • Minor Change
    • v8.0
    • QE 2024-04-29, QE 2024-05-13, QE 2024-05-27, QE 2024-06-10
    • 0

      The default batch size for the find command is hard-coded at 101. As a result, we don't exercise getMore commands as much as we probably should.

      Make this configurable, and add it to the config fuzzer to increase our coverage.

      This was inspired by the bug SERVER-87126, which exposed a bug reading internally from the system.js collection that is only exercised when the collection contains 101 documents.

            Assignee:
            kristina.znam@mongodb.com Kristina Znam
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: