Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3205

Adjust getMore command batchSize calculation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Command Operations
    • None

    Description

      This is a follow up to CSHARP-3162
      The getMore test (link) was failing, because getMore command contained incorrect value for batchSize field.
      This field is calculated correctly for getMore protocol: AsyncCursor.CalculateGetMoreProtocolNumberToReturn() so this logic could be reused for calculating batchSize value for getMore command as well.
      Specification: Behavior of Limit, skip and batchSize and Combining Limit and Batch Size for the Wire Protocol
      Also in scope of this ticket json test (getMore.json) should be restored to specification state.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikalai.mazurenka@mongodb.com Mikalai Mazurenka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: