Improve test coverage where we have to iterate over a cursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently our find/aggregation batch sizes are set to a default of 100 documents. This parameter must be set by the user and there is no way of specifying a default batch size server-wide.

      As a result we're not exercising cases where we must iterate a cursor in our testing infrastructure.

      One idea would be to make a server parameter for the default batch size and create a variant that uses a very small batch size. In that case we would heavily exercise this path and potentially catch any errors that arise from this lack of coverage.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: