[DRIVERS-544] Support 'startAfter' option to the $changeStream stage Created: 24/Jul/18  Updated: 22/Feb/23  Resolved: 22/Feb/23

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

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

Issue Links:
Depends
depends on CDRIVER-2925 Support 'startAfter' option to the $c... Closed
depends on CSHARP-2483 Support 'startAfter' option to the $c... Closed
depends on CXX-1715 Support 'startAfter' option to the $c... Closed
depends on GODRIVER-765 Support 'startAfter' option to the $c... Closed
depends on JAVA-3139 Support 'startAfter' option to the $c... Closed
depends on MOTOR-297 Support 'startAfter' option to the $c... Closed
depends on NODE-1824 Support 'startAfter' option to the $c... Closed
depends on PHPLIB-407 Support 'startAfter' option to the $c... Closed
depends on PYTHON-1720 Support 'startAfter' option to the $c... Closed
depends on RUST-113 Support 'startAfter' option to the $c... Closed
depends on SERVER-35030 Add 'startAfter' option to the $chang... Closed
depends on RUBY-1668 Support 'startAfter' option to the $c... Closed
Duplicate
is duplicated by DRIVERS-593 Add support for 'startAfter' option t... Closed
Server Compat: 4.1, 4.2
Start date:
Driver Compliance:
Key Status/Resolution FixVersion
RUST-113 Duplicate
NODE-1824 Fixed 3.3.0
SCALA-488 Fixed 2.7.0
PYTHON-1720 Fixed 3.9
CSHARP-2483 Fixed 2.9.0
PERL-1052 Fixed 2.1.1
RUBY-1668 Fixed 2.9.0.rc0
JAVA-3139 Fixed 3.11.0
CXX-1715 Fixed 3.5.0
PHPLIB-407 Fixed 1.5.0
MOTOR-297 Fixed 2.1
GODRIVER-765 Fixed 1.1.0
CDRIVER-2925 Fixed 1.15.0
SWIFT-576 Won't Do

 Description   
Useful Info

Lead:
POCs:

Summary:
The startAfter option is being added in order to convey intent to users about the creation of a new change stream based on an pre-existing resume token from a collection that has been invalidated. Creating a change stream with the startAfter parameter specified in the $changeStream stage will open a cursor opportunistically, and wait for the collection to be come available. In this sense, startAfter provides a way for users to never miss a single event.

Final Specification:
https://github.com/mongodb/specifications/commit/830715cd8a84da9c5582617a3e3a7d40171aa5f8


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