[DRIVERS-272] Add option maxAwaitTimeMS on getMore commands Created: 20/Oct/15  Updated: 15/Apr/19  Resolved: 06/Nov/18

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Rathi Gnanasekaran Assignee: Craig Wilson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-966 Add option maxAwaitTimeMS on getMore ... Closed
depends on CSHARP-1459 Add option maxAwaitTimeMS on getMore ... Closed
depends on CXX-721 Add option maxAwaitTimeMS on getMore ... Closed
depends on CXX-722 Add option maxAwaitTimeMS on getMore ... Closed
depends on GODRIVER-146 Add option maxAwaitTimeMS on getMore ... Closed
depends on JAVA-2020 Add option maxAwaitTime for tailable ... Closed
depends on NODE-601 Add option maxAwaitTimeMS on getMore ... Closed
depends on PHPC-839 Add option maxAwaitTimeMS on getMore ... Closed
depends on PHPLIB-268 Add option maxAwaitTimeMS on getMore ... Closed
depends on PYTHON-1006 Add option maxAwaitTimeMS on getMore ... Closed
depends on RUBY-1064 Add option maxAwaitTimeMS on getMore... Closed
depends on RUST-6 Add option maxAwaitTimeMS on getMore ... Closed
Related
related to SERVER-15815 maxTimeMS on initial tailable cursor ... Closed
Driver Compliance:
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.



 Comments   
Comment by Mark Benvenuto [ 27/Oct/15 ]

Since the C++ Legacy driver is not planning to support the getMore command, there is no work for this ticket.

Generated at Thu Feb 08 08:21:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.