[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: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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. |