Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-272

Add option maxAwaitTimeMS on getMore commands

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      Each driver needs to add maxAwaitTimeMS to their FindOptions class as defined by the CRUD spec. This option is only applicable for tailable cursors where the user has also selected to await for data. The CRUD spec defines this as a cursorType of TAILABLE_AWAIT.

      This also only applies to servers >= 3.2 as the only way to set this value is on the getMore command. When set prior to 3.2 or when the cursor is not a TAILABLE_AWAIT cursor, it should be ignored. On the getMore command, the option is called maxTimeMS.

            Assignee:
            craig.wilson@mongodb.com Craig Wilson
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: