[DRIVERS-629] Amend change stream missing resume token tests for wire version 8+ Created: 09/Apr/19  Updated: 22/Feb/23  Resolved: 22/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Katherine Walker (Inactive) 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 RUST-421 Amend change stream missing resume to... Closed
depends on CDRIVER-3090 Amend change stream missing resume to... Closed
depends on CSHARP-2590 Amend change stream missing resume to... Closed
depends on CXX-1765 Amend change stream missing resume to... Closed
depends on GODRIVER-970 Amend change stream missing resume to... Closed
depends on JAVA-3271 Amend change stream missing resume to... Closed
depends on MOTOR-334 Amend change stream missing resume to... Closed
depends on NODE-1951 Amend change stream missing resume to... Closed
depends on PHPLIB-422 Amend change stream missing resume to... Closed
depends on PYTHON-1817 Amend change stream missing resume to... Closed
depends on RUBY-1797 Amend change stream missing resume to... Closed
Driver Compliance:
Key Status/Resolution FixVersion
PYTHON-1817 Fixed 3.9
PERL-1090 Fixed 2.1.1
SCALA-520 Done
CDRIVER-3090 Fixed 1.15.0
CXX-1765 Fixed 3.5.0
NODE-1951 Fixed 3.3.0
PHPLIB-422 Fixed 1.5.0
CSHARP-2590 Won't Fix
RUBY-1797 Duplicate
MOTOR-334 Won't Fix
JAVA-3271 Fixed 3.11.0
GODRIVER-970 Fixed 1.1.0
SWIFT-559 Won't Do
RUST-421 Won't Fix

 Description   

Updated: Change here: https://github.com/mongodb/specifications/commit/8c0d8cc305bf69acff3c90097768321c103d2a44

Original: Change here: https://github.com/mongodb/specifications/commit/454b26f30eb6ef48f7a64bc90ba696ac0ea7ae59



 Comments   
Comment by Robert Stam [ 14/Jun/19 ]

Note to other language driver implementers: you may not have to do anything.

For the C# driver we check that the _id was not projected out when reading the output of the change stream pipeline. If the server returns an error we don't even get to the part of the code that would raise an error if the _id was projected out. Which means that for newer server versions this already results in a server error, and for older server versions it results in a client side error.

So no changes were required to the C# driver because it was already behaving as it should.

Comment by Ian Whalen (Inactive) [ 15/Apr/19 ]

ian.whalen make tix.

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