Make the default find batch size configurable and fuzz in testing

XMLWordPrintableJSON

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

      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
              Reporter:
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: