Eliminate unnecessary killCursors command when batchSize == limit

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 5.5.0
    • Affects Version/s: None
    • Component/s: CRUD
    • Hide

      DRIVERS-1447:
      To work around a server issue, 2362d1a adds guidance on how to set limit and batchSize. TL;DR: if limit is set to the same value as batchSize, a higher batchSize MUST be sent to avoid an open cursor on the server. Note that despite this, the server may yield a cursor if not all results fit in the command response due to size limitations.

      It is suggested to combine this work with DRIVERS-3009.

      Show
      DRIVERS-1447: To work around a server issue, 2362d1a adds guidance on how to set limit and batchSize . TL;DR: if limit is set to the same value as batchSize , a higher batchSize MUST be sent to avoid an open cursor on the server. Note that despite this, the server may yield a cursor if not all results fit in the command response due to size limitations. It is suggested to combine this work with DRIVERS-3009 .
    • None
    • Fully Compatible
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-1447, please see that ticket for a detailed description.

            Assignee:
            Nathan Xu
            Reporter:
            TPM Jira Automations Bot
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: