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

Make the default find batch size configurable and fuzz in testing

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2024-04-29, QE 2024-05-13

      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:
            7 Start watching this issue

              Created:
              Updated: