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

Add option maxAwaitTimeMS on getMore commands

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CSHARP-1459 Done 2.2
      CXX-722 Done 3.0.0-rc0
      CXX-721 Won't Fix
      PYTHON-1006 Done 3.2
      SCALA-221 Done 1.1.0
      CDRIVER-966 Done 1.3.0-beta0
      RUBY-1064 Done 2.2.0
      PERL-594 Done 1.2.0
      NODE-601 Done 2.1.0
      JAVA-2020 Done 3.2.0
      PHPC-839 Done 1.3.0-beta1, 1.3.0
      PHPLIB-268 Fixed 1.2.0
      GODRIVER-146 Duplicate
      RUST-6 Duplicate
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CSHARP-1459 Done 2.2 CXX-722 Done 3.0.0-rc0 CXX-721 Won't Fix PYTHON-1006 Done 3.2 SCALA-221 Done 1.1.0 CDRIVER-966 Done 1.3.0-beta0 RUBY-1064 Done 2.2.0 PERL-594 Done 1.2.0 NODE-601 Done 2.1.0 JAVA-2020 Done 3.2.0 PHPC-839 Done 1.3.0-beta1, 1.3.0 PHPLIB-268 Fixed 1.2.0 GODRIVER-146 Duplicate RUST-6 Duplicate

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: