Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1564

Eliminate unnecessary killCursors command when batchSize == limit

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.21.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 .
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

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

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: